pulp-python-client 3.26.1__py3-none-any.whl → 3.27.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulp_python-client
3
- Version: 3.26.1
3
+ Version: 3.27.1
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -24,7 +24,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
24
24
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
25
25
 
26
26
  - API version: v3
27
- - Package version: 3.26.1
27
+ - Package version: 3.27.1
28
28
  - Generator version: 7.14.0
29
29
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
30
30
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -1,9 +1,9 @@
1
1
  pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
2
2
  pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
3
- pulpcore/client/pulp_python/__init__.py,sha256=JtiVjY1SLKwR5z3ZXoR-WXADHiBlG6554WaV6drgd0o,10430
4
- pulpcore/client/pulp_python/api_client.py,sha256=D32P5iuVNt8QgqIgb7y21vXY6zYMk8l7H4uHdxNTpBg,27772
3
+ pulpcore/client/pulp_python/__init__.py,sha256=cXGeDad0gsC1HdveR9NBxXVBaMPjBMpoNe1GjxcMnjc,10430
4
+ pulpcore/client/pulp_python/api_client.py,sha256=nY-XPa8vL9zIOWQNJei6JK0SruCHpyHg0vQmOt3X2Hw,27772
5
5
  pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- pulpcore/client/pulp_python/configuration.py,sha256=HShPnACAbuGOQxMSbZaXGMLcdNLsVstIOvb-PLMQxjs,19588
6
+ pulpcore/client/pulp_python/configuration.py,sha256=vSA_KC_i4L8npUmULlqIfsd2IRQm_MJf4Za-Bjuw5zU,19588
7
7
  pulpcore/client/pulp_python/exceptions.py,sha256=UUQyfmHrA0wKpyniO8D6jgIOSee4k0dBIImRgs74ERw,6456
8
8
  pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pulpcore/client/pulp_python/rest.py,sha256=6sLIAY0kZZoh8inygjKObUkLhf-icE4ljhyb00i8nZ0,9466
@@ -11,14 +11,14 @@ pulpcore/client/pulp_python/api/__init__.py,sha256=ERvlOITVX0qGepF95_gsa42GPHnbv
11
11
  pulpcore/client/pulp_python/api/content_packages_api.py,sha256=Ipn2nhdtQIwMgjuaBM1N2S6OOHZBQjWAN78q2ur1h8Q,199105
12
12
  pulpcore/client/pulp_python/api/content_provenance_api.py,sha256=Nu62jAuUbiuECw_-ytnaMvHIx8U9y64Fuc3wwmwf1aI,91347
13
13
  pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=IExUvZCAgvQD4kagmIi897M-T_uHXuMQaZgqsQDATWg,183639
14
- pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=S5ypukuXmwSN5X8XeXUBpAmysxM8RS1IIc16LiHYmgY,127075
14
+ pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=7sQeO5y3Td5vJcQhi5P7eSBuvXP2UHqhrVCTcJ2ia-g,131620
15
15
  pulpcore/client/pulp_python/api/pypi_api.py,sha256=YV0qe3htsZrysNA8nyQwV-te9hxZgrZ89aMin8HQV70,13944
16
16
  pulpcore/client/pulp_python/api/pypi_legacy_api.py,sha256=gWOPgc_OmGSwcz3NyO7xnpeVn71Xn9J-VLRe5dtSJeA,20612
17
17
  pulpcore/client/pulp_python/api/pypi_metadata_api.py,sha256=DC25AkQ4dPl8n7NJJrpxFbfD2T83aKLLnmaoqehQQPs,14893
18
18
  pulpcore/client/pulp_python/api/pypi_provenance_api.py,sha256=E9-vmrOejeeYrsPtzMpZPeY4dul2t_Hl-uOQxBJ16UE,15001
19
19
  pulpcore/client/pulp_python/api/pypi_simple_api.py,sha256=YHYcYwVgwsPn5a1u6vbYmrs2MztY319kWOisgnrKbYk,47579
20
20
  pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=4miaULBiTHnGwHHk9Vr3OlJZW2azQCq7D3HHbbkJPy4,210230
21
- pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=ONpz4yAc7IgB3L065vS3XTMBa82DM5LBEXlftyNQpqU,226471
21
+ pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=kykIzHIdypYCc9MvyujaDgIK_FJD6qBq9WRbu5J7wOI,237464
22
22
  pulpcore/client/pulp_python/api/repositories_python_versions_api.py,sha256=D_5kQzCVMrIcpXQFB0lbDfRoUmV9URH93vbmOHzza30,90236
23
23
  pulpcore/client/pulp_python/models/__init__.py,sha256=bhI_lyF0c2BukNlU1IEJkUApjFI4G5y6UyZDXZSPon8,5004
24
24
  pulpcore/client/pulp_python/models/async_operation_response.py,sha256=tu8pF5qBaB8ekyXKMWKGHxOGr27EmRLLKSSnaOCuPSw,2514
@@ -40,22 +40,22 @@ pulpcore/client/pulp_python/models/paginatedpython_python_package_content_respon
40
40
  pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py,sha256=kVvPvG2_nYM0OAOCQBd5hb1jxi16tbQ7AIcvoJwms0A,3159
41
41
  pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py,sha256=Tw5MfinFbHiTFfMXvon-ewbzThn0esSMCm_9tbfsRHE,3124
42
42
  pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py,sha256=wYt-77wDUPxe8ziBBh8mDGdbWrbNdB0USl0oIr7MXEA,3152
43
- pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=IcTtJTdC-dAmD-P2qrG9ohOMAI2Jtfhl9IbyUN56ABY,5177
43
+ pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=HZodEXJxEdq7oMaZMym7n48uym7KMIr31tctntC6v4A,5191
44
44
  pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=jOj8e1o0wWRoy8trQWKrRc7DPuvaOW45Dy0NgC1plRQ,12476
45
- pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=VkD-jNGHvW62ijDcDr-CtnxxBrN_3rf56FOmRis8zIE,4171
45
+ pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=HPv9hG0IGA-H-usv_3fJl8mkM10D47k1qKc4EFFHahA,4673
46
46
  pulpcore/client/pulp_python/models/policy_enum.py,sha256=alBNbWymx71uIJJLX3vvtlW-2wIql23bfXHM-DtgCww,1254
47
47
  pulpcore/client/pulp_python/models/protocol_version_enum.py,sha256=1q2qEVmae6pmjjhhNO9-H6gOEo8ZssDV_yjbWxEpciE,718
48
48
  pulpcore/client/pulp_python/models/python_package_provenance_response.py,sha256=Sh_65uoWHat7eJrHwZM4iV2ipuvEJbvz_Og8-74gjqw,4204
49
- pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=mo8kpHW1zLP9nVyIeSNcjYkgq06xYH-8kmL87CMND3w,5108
50
- pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=Alw2lXNVSjQYchhVJ4rJHtshZSGmARY92ISWwdmMUVQ,6406
49
+ pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=8sCCh-ONO9DjGr57tjMmurk8oHqIs-G-SruVPCM90BA,5122
50
+ pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=xWjwWoMauXbgJz-AU-JgiDXum6WuPCiuxWzfDmYVFBs,6675
51
51
  pulpcore/client/pulp_python/models/python_python_package_content_response.py,sha256=jHzrp84zDmugZ7K8kUXFJ02TdMyXmznZZgndpfZZ-NA,11349
52
52
  pulpcore/client/pulp_python/models/python_python_publication.py,sha256=OWMbDI01CbJZxWSecyMeSNAhd8Ar18Xz4LBSe1Z4bvc,2651
53
53
  pulpcore/client/pulp_python/models/python_python_publication_response.py,sha256=pMwSqj6e0NGFCeTnyc3Yj4UHdiVOT10zXdeJ1LCSRwI,3759
54
54
  pulpcore/client/pulp_python/models/python_python_remote.py,sha256=EFYcrL5y7lH8-FA8wLNbBHRNEA7H6UxmYOksDOVGlbk,12407
55
55
  pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=LDLLJGIrczdA_s_uXXCqbYhHBjZvlnXxIgSmosDjKM8,11444
56
56
  pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py,sha256=sZSm0FCX3tMFo7Yjt7jOUzI0OGmgrwrdNtBknQVBKmQ,2574
57
- pulpcore/client/pulp_python/models/python_python_repository.py,sha256=EckZNuiXpp_b1etlF81sJKdeOZQ95EL5-NQcGHw-j70,4126
58
- pulpcore/client/pulp_python/models/python_python_repository_response.py,sha256=NOwk2byom1qubxQ8eNSL3dWXQsNhw3et47sD4ajvB80,5278
57
+ pulpcore/client/pulp_python/models/python_python_repository.py,sha256=kOt4U_b-xAJu-DfEOzwBin9oSegxBdzSefAehucuKew,4628
58
+ pulpcore/client/pulp_python/models/python_python_repository_response.py,sha256=NteWwXeR4ErBD0HstqWwjyhmjld1X_dBL1glmmkuG0c,5780
59
59
  pulpcore/client/pulp_python/models/remote_network_config.py,sha256=wy727M9zoBT8_NeuNgWJMsDlxgrZKa1w9_mDKbHkQ-s,9849
60
60
  pulpcore/client/pulp_python/models/remote_network_config_response.py,sha256=C7jw8k2mhKtgaIjdEgSzfMERl-sZsxKhQn0lpgYRhMI,7616
61
61
  pulpcore/client/pulp_python/models/repair.py,sha256=-jAKvUUzykn-n5O5jYGJy40JF0PRI32rJA8lojwQV-o,2635
@@ -67,7 +67,7 @@ pulpcore/client/pulp_python/models/set_label_response.py,sha256=AJKyRWVTgpODnchr
67
67
  pulpcore/client/pulp_python/models/summary_response.py,sha256=UW-FGA9ffCbn7a6czqjddy0FziM5DQYqIP6nmqQb_bY,2731
68
68
  pulpcore/client/pulp_python/models/unset_label.py,sha256=bioUtBJUl9y7hpLJ4iYYhcQ4sXj-FRUZq0In2gEGbxU,2507
69
69
  pulpcore/client/pulp_python/models/unset_label_response.py,sha256=iaHiYMGW-vu1fIHnzasVzMhY_0AHiYzvy48mfQOuw5M,2584
70
- pulp_python_client-3.26.1.dist-info/METADATA,sha256=rNyspUaapOdwGrQ7INzrucUA2_gZovKXxQrqO8lNQjs,22613
71
- pulp_python_client-3.26.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
72
- pulp_python_client-3.26.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
73
- pulp_python_client-3.26.1.dist-info/RECORD,,
70
+ pulp_python_client-3.27.1.dist-info/METADATA,sha256=-wCg_dbczOPpJcx4bbDKLnwdvB4gHiFjVCltN6JcwdA,22613
71
+ pulp_python_client-3.27.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
72
+ pulp_python_client-3.27.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
73
+ pulp_python_client-3.27.1.dist-info/RECORD,,
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "3.26.1"
18
+ __version__ = "3.27.1"
19
19
 
20
20
  # Define package exports
21
21
  __all__ = [
@@ -67,7 +67,7 @@ class PublicationsPypiApi:
67
67
  _headers: Optional[Dict[StrictStr, Any]] = None,
68
68
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
69
69
  ) -> NestedRoleResponse:
70
- """Add a role
70
+ """(Deprecated) Add a role
71
71
 
72
72
  Add a role for this object to users/groups.
73
73
 
@@ -98,6 +98,7 @@ class PublicationsPypiApi:
98
98
  :type _host_index: int, optional
99
99
  :return: Returns the result object.
100
100
  """ # noqa: E501
101
+ warnings.warn("POST {python_python_publication_href}add_role/ is deprecated.", DeprecationWarning)
101
102
 
102
103
  _param = self._add_role_serialize(
103
104
  python_python_publication_href=python_python_publication_href,
@@ -142,7 +143,7 @@ class PublicationsPypiApi:
142
143
  _headers: Optional[Dict[StrictStr, Any]] = None,
143
144
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
144
145
  ) -> ApiResponse[NestedRoleResponse]:
145
- """Add a role
146
+ """(Deprecated) Add a role
146
147
 
147
148
  Add a role for this object to users/groups.
148
149
 
@@ -173,6 +174,7 @@ class PublicationsPypiApi:
173
174
  :type _host_index: int, optional
174
175
  :return: Returns the result object.
175
176
  """ # noqa: E501
177
+ warnings.warn("POST {python_python_publication_href}add_role/ is deprecated.", DeprecationWarning)
176
178
 
177
179
  _param = self._add_role_serialize(
178
180
  python_python_publication_href=python_python_publication_href,
@@ -217,7 +219,7 @@ class PublicationsPypiApi:
217
219
  _headers: Optional[Dict[StrictStr, Any]] = None,
218
220
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
219
221
  ) -> RESTResponseType:
220
- """Add a role
222
+ """(Deprecated) Add a role
221
223
 
222
224
  Add a role for this object to users/groups.
223
225
 
@@ -248,6 +250,7 @@ class PublicationsPypiApi:
248
250
  :type _host_index: int, optional
249
251
  :return: Returns the result object.
250
252
  """ # noqa: E501
253
+ warnings.warn("POST {python_python_publication_href}add_role/ is deprecated.", DeprecationWarning)
251
254
 
252
255
  _param = self._add_role_serialize(
253
256
  python_python_publication_href=python_python_publication_href,
@@ -374,7 +377,7 @@ class PublicationsPypiApi:
374
377
  _headers: Optional[Dict[StrictStr, Any]] = None,
375
378
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
376
379
  ) -> AsyncOperationResponse:
377
- """Create a python publication
380
+ """(Deprecated) Create a python publication
378
381
 
379
382
  Dispatches a publish task, which generates metadata that will be used by pip.
380
383
 
@@ -403,6 +406,7 @@ class PublicationsPypiApi:
403
406
  :type _host_index: int, optional
404
407
  :return: Returns the result object.
405
408
  """ # noqa: E501
409
+ warnings.warn("POST /pulp/api/v3/publications/python/pypi/ is deprecated.", DeprecationWarning)
406
410
 
407
411
  _param = self._create_serialize(
408
412
  python_python_publication=python_python_publication,
@@ -445,7 +449,7 @@ class PublicationsPypiApi:
445
449
  _headers: Optional[Dict[StrictStr, Any]] = None,
446
450
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
447
451
  ) -> ApiResponse[AsyncOperationResponse]:
448
- """Create a python publication
452
+ """(Deprecated) Create a python publication
449
453
 
450
454
  Dispatches a publish task, which generates metadata that will be used by pip.
451
455
 
@@ -474,6 +478,7 @@ class PublicationsPypiApi:
474
478
  :type _host_index: int, optional
475
479
  :return: Returns the result object.
476
480
  """ # noqa: E501
481
+ warnings.warn("POST /pulp/api/v3/publications/python/pypi/ is deprecated.", DeprecationWarning)
477
482
 
478
483
  _param = self._create_serialize(
479
484
  python_python_publication=python_python_publication,
@@ -516,7 +521,7 @@ class PublicationsPypiApi:
516
521
  _headers: Optional[Dict[StrictStr, Any]] = None,
517
522
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
518
523
  ) -> RESTResponseType:
519
- """Create a python publication
524
+ """(Deprecated) Create a python publication
520
525
 
521
526
  Dispatches a publish task, which generates metadata that will be used by pip.
522
527
 
@@ -545,6 +550,7 @@ class PublicationsPypiApi:
545
550
  :type _host_index: int, optional
546
551
  :return: Returns the result object.
547
552
  """ # noqa: E501
553
+ warnings.warn("POST /pulp/api/v3/publications/python/pypi/ is deprecated.", DeprecationWarning)
548
554
 
549
555
  _param = self._create_serialize(
550
556
  python_python_publication=python_python_publication,
@@ -667,9 +673,9 @@ class PublicationsPypiApi:
667
673
  _headers: Optional[Dict[StrictStr, Any]] = None,
668
674
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
669
675
  ) -> None:
670
- """Delete a python publication
676
+ """(Deprecated) Delete a python publication
671
677
 
672
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
678
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
673
679
 
674
680
  :param python_python_publication_href: (required)
675
681
  :type python_python_publication_href: str
@@ -696,6 +702,7 @@ class PublicationsPypiApi:
696
702
  :type _host_index: int, optional
697
703
  :return: Returns the result object.
698
704
  """ # noqa: E501
705
+ warnings.warn("DELETE {python_python_publication_href} is deprecated.", DeprecationWarning)
699
706
 
700
707
  _param = self._delete_serialize(
701
708
  python_python_publication_href=python_python_publication_href,
@@ -738,9 +745,9 @@ class PublicationsPypiApi:
738
745
  _headers: Optional[Dict[StrictStr, Any]] = None,
739
746
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
740
747
  ) -> ApiResponse[None]:
741
- """Delete a python publication
748
+ """(Deprecated) Delete a python publication
742
749
 
743
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
750
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
744
751
 
745
752
  :param python_python_publication_href: (required)
746
753
  :type python_python_publication_href: str
@@ -767,6 +774,7 @@ class PublicationsPypiApi:
767
774
  :type _host_index: int, optional
768
775
  :return: Returns the result object.
769
776
  """ # noqa: E501
777
+ warnings.warn("DELETE {python_python_publication_href} is deprecated.", DeprecationWarning)
770
778
 
771
779
  _param = self._delete_serialize(
772
780
  python_python_publication_href=python_python_publication_href,
@@ -809,9 +817,9 @@ class PublicationsPypiApi:
809
817
  _headers: Optional[Dict[StrictStr, Any]] = None,
810
818
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
811
819
  ) -> RESTResponseType:
812
- """Delete a python publication
820
+ """(Deprecated) Delete a python publication
813
821
 
814
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
822
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
815
823
 
816
824
  :param python_python_publication_href: (required)
817
825
  :type python_python_publication_href: str
@@ -838,6 +846,7 @@ class PublicationsPypiApi:
838
846
  :type _host_index: int, optional
839
847
  :return: Returns the result object.
840
848
  """ # noqa: E501
849
+ warnings.warn("DELETE {python_python_publication_href} is deprecated.", DeprecationWarning)
841
850
 
842
851
  _param = self._delete_serialize(
843
852
  python_python_publication_href=python_python_publication_href,
@@ -958,9 +967,9 @@ class PublicationsPypiApi:
958
967
  _headers: Optional[Dict[StrictStr, Any]] = None,
959
968
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
960
969
  ) -> PaginatedpythonPythonPublicationResponseList:
961
- """List python publications
970
+ """(Deprecated) List python publications
962
971
 
963
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
972
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
964
973
 
965
974
  :param x_task_diagnostics: List of profilers to use on tasks.
966
975
  :type x_task_diagnostics: List[str]
@@ -1027,6 +1036,7 @@ class PublicationsPypiApi:
1027
1036
  :type _host_index: int, optional
1028
1037
  :return: Returns the result object.
1029
1038
  """ # noqa: E501
1039
+ warnings.warn("GET /pulp/api/v3/publications/python/pypi/ is deprecated.", DeprecationWarning)
1030
1040
 
1031
1041
  _param = self._list_serialize(
1032
1042
  x_task_diagnostics=x_task_diagnostics,
@@ -1109,9 +1119,9 @@ class PublicationsPypiApi:
1109
1119
  _headers: Optional[Dict[StrictStr, Any]] = None,
1110
1120
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1111
1121
  ) -> ApiResponse[PaginatedpythonPythonPublicationResponseList]:
1112
- """List python publications
1122
+ """(Deprecated) List python publications
1113
1123
 
1114
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
1124
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
1115
1125
 
1116
1126
  :param x_task_diagnostics: List of profilers to use on tasks.
1117
1127
  :type x_task_diagnostics: List[str]
@@ -1178,6 +1188,7 @@ class PublicationsPypiApi:
1178
1188
  :type _host_index: int, optional
1179
1189
  :return: Returns the result object.
1180
1190
  """ # noqa: E501
1191
+ warnings.warn("GET /pulp/api/v3/publications/python/pypi/ is deprecated.", DeprecationWarning)
1181
1192
 
1182
1193
  _param = self._list_serialize(
1183
1194
  x_task_diagnostics=x_task_diagnostics,
@@ -1260,9 +1271,9 @@ class PublicationsPypiApi:
1260
1271
  _headers: Optional[Dict[StrictStr, Any]] = None,
1261
1272
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1262
1273
  ) -> RESTResponseType:
1263
- """List python publications
1274
+ """(Deprecated) List python publications
1264
1275
 
1265
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
1276
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
1266
1277
 
1267
1278
  :param x_task_diagnostics: List of profilers to use on tasks.
1268
1279
  :type x_task_diagnostics: List[str]
@@ -1329,6 +1340,7 @@ class PublicationsPypiApi:
1329
1340
  :type _host_index: int, optional
1330
1341
  :return: Returns the result object.
1331
1342
  """ # noqa: E501
1343
+ warnings.warn("GET /pulp/api/v3/publications/python/pypi/ is deprecated.", DeprecationWarning)
1332
1344
 
1333
1345
  _param = self._list_serialize(
1334
1346
  x_task_diagnostics=x_task_diagnostics,
@@ -1613,7 +1625,7 @@ class PublicationsPypiApi:
1613
1625
  _headers: Optional[Dict[StrictStr, Any]] = None,
1614
1626
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1615
1627
  ) -> ObjectRolesResponse:
1616
- """List roles
1628
+ """(Deprecated) List roles
1617
1629
 
1618
1630
  List roles assigned to this object.
1619
1631
 
@@ -1646,6 +1658,7 @@ class PublicationsPypiApi:
1646
1658
  :type _host_index: int, optional
1647
1659
  :return: Returns the result object.
1648
1660
  """ # noqa: E501
1661
+ warnings.warn("GET {python_python_publication_href}list_roles/ is deprecated.", DeprecationWarning)
1649
1662
 
1650
1663
  _param = self._list_roles_serialize(
1651
1664
  python_python_publication_href=python_python_publication_href,
@@ -1692,7 +1705,7 @@ class PublicationsPypiApi:
1692
1705
  _headers: Optional[Dict[StrictStr, Any]] = None,
1693
1706
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1694
1707
  ) -> ApiResponse[ObjectRolesResponse]:
1695
- """List roles
1708
+ """(Deprecated) List roles
1696
1709
 
1697
1710
  List roles assigned to this object.
1698
1711
 
@@ -1725,6 +1738,7 @@ class PublicationsPypiApi:
1725
1738
  :type _host_index: int, optional
1726
1739
  :return: Returns the result object.
1727
1740
  """ # noqa: E501
1741
+ warnings.warn("GET {python_python_publication_href}list_roles/ is deprecated.", DeprecationWarning)
1728
1742
 
1729
1743
  _param = self._list_roles_serialize(
1730
1744
  python_python_publication_href=python_python_publication_href,
@@ -1771,7 +1785,7 @@ class PublicationsPypiApi:
1771
1785
  _headers: Optional[Dict[StrictStr, Any]] = None,
1772
1786
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1773
1787
  ) -> RESTResponseType:
1774
- """List roles
1788
+ """(Deprecated) List roles
1775
1789
 
1776
1790
  List roles assigned to this object.
1777
1791
 
@@ -1804,6 +1818,7 @@ class PublicationsPypiApi:
1804
1818
  :type _host_index: int, optional
1805
1819
  :return: Returns the result object.
1806
1820
  """ # noqa: E501
1821
+ warnings.warn("GET {python_python_publication_href}list_roles/ is deprecated.", DeprecationWarning)
1807
1822
 
1808
1823
  _param = self._list_roles_serialize(
1809
1824
  python_python_publication_href=python_python_publication_href,
@@ -1927,7 +1942,7 @@ class PublicationsPypiApi:
1927
1942
  _headers: Optional[Dict[StrictStr, Any]] = None,
1928
1943
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1929
1944
  ) -> MyPermissionsResponse:
1930
- """List user permissions
1945
+ """(Deprecated) List user permissions
1931
1946
 
1932
1947
  List permissions available to the current user on this object.
1933
1948
 
@@ -1960,6 +1975,7 @@ class PublicationsPypiApi:
1960
1975
  :type _host_index: int, optional
1961
1976
  :return: Returns the result object.
1962
1977
  """ # noqa: E501
1978
+ warnings.warn("GET {python_python_publication_href}my_permissions/ is deprecated.", DeprecationWarning)
1963
1979
 
1964
1980
  _param = self._my_permissions_serialize(
1965
1981
  python_python_publication_href=python_python_publication_href,
@@ -2006,7 +2022,7 @@ class PublicationsPypiApi:
2006
2022
  _headers: Optional[Dict[StrictStr, Any]] = None,
2007
2023
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2008
2024
  ) -> ApiResponse[MyPermissionsResponse]:
2009
- """List user permissions
2025
+ """(Deprecated) List user permissions
2010
2026
 
2011
2027
  List permissions available to the current user on this object.
2012
2028
 
@@ -2039,6 +2055,7 @@ class PublicationsPypiApi:
2039
2055
  :type _host_index: int, optional
2040
2056
  :return: Returns the result object.
2041
2057
  """ # noqa: E501
2058
+ warnings.warn("GET {python_python_publication_href}my_permissions/ is deprecated.", DeprecationWarning)
2042
2059
 
2043
2060
  _param = self._my_permissions_serialize(
2044
2061
  python_python_publication_href=python_python_publication_href,
@@ -2085,7 +2102,7 @@ class PublicationsPypiApi:
2085
2102
  _headers: Optional[Dict[StrictStr, Any]] = None,
2086
2103
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2087
2104
  ) -> RESTResponseType:
2088
- """List user permissions
2105
+ """(Deprecated) List user permissions
2089
2106
 
2090
2107
  List permissions available to the current user on this object.
2091
2108
 
@@ -2118,6 +2135,7 @@ class PublicationsPypiApi:
2118
2135
  :type _host_index: int, optional
2119
2136
  :return: Returns the result object.
2120
2137
  """ # noqa: E501
2138
+ warnings.warn("GET {python_python_publication_href}my_permissions/ is deprecated.", DeprecationWarning)
2121
2139
 
2122
2140
  _param = self._my_permissions_serialize(
2123
2141
  python_python_publication_href=python_python_publication_href,
@@ -2241,9 +2259,9 @@ class PublicationsPypiApi:
2241
2259
  _headers: Optional[Dict[StrictStr, Any]] = None,
2242
2260
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2243
2261
  ) -> PythonPythonPublicationResponse:
2244
- """Inspect a python publication
2262
+ """(Deprecated) Inspect a python publication
2245
2263
 
2246
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
2264
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
2247
2265
 
2248
2266
  :param python_python_publication_href: (required)
2249
2267
  :type python_python_publication_href: str
@@ -2274,6 +2292,7 @@ class PublicationsPypiApi:
2274
2292
  :type _host_index: int, optional
2275
2293
  :return: Returns the result object.
2276
2294
  """ # noqa: E501
2295
+ warnings.warn("GET {python_python_publication_href} is deprecated.", DeprecationWarning)
2277
2296
 
2278
2297
  _param = self._read_serialize(
2279
2298
  python_python_publication_href=python_python_publication_href,
@@ -2320,9 +2339,9 @@ class PublicationsPypiApi:
2320
2339
  _headers: Optional[Dict[StrictStr, Any]] = None,
2321
2340
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2322
2341
  ) -> ApiResponse[PythonPythonPublicationResponse]:
2323
- """Inspect a python publication
2342
+ """(Deprecated) Inspect a python publication
2324
2343
 
2325
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
2344
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
2326
2345
 
2327
2346
  :param python_python_publication_href: (required)
2328
2347
  :type python_python_publication_href: str
@@ -2353,6 +2372,7 @@ class PublicationsPypiApi:
2353
2372
  :type _host_index: int, optional
2354
2373
  :return: Returns the result object.
2355
2374
  """ # noqa: E501
2375
+ warnings.warn("GET {python_python_publication_href} is deprecated.", DeprecationWarning)
2356
2376
 
2357
2377
  _param = self._read_serialize(
2358
2378
  python_python_publication_href=python_python_publication_href,
@@ -2399,9 +2419,9 @@ class PublicationsPypiApi:
2399
2419
  _headers: Optional[Dict[StrictStr, Any]] = None,
2400
2420
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2401
2421
  ) -> RESTResponseType:
2402
- """Inspect a python publication
2422
+ """(Deprecated) Inspect a python publication
2403
2423
 
2404
- Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
2424
+ Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
2405
2425
 
2406
2426
  :param python_python_publication_href: (required)
2407
2427
  :type python_python_publication_href: str
@@ -2432,6 +2452,7 @@ class PublicationsPypiApi:
2432
2452
  :type _host_index: int, optional
2433
2453
  :return: Returns the result object.
2434
2454
  """ # noqa: E501
2455
+ warnings.warn("GET {python_python_publication_href} is deprecated.", DeprecationWarning)
2435
2456
 
2436
2457
  _param = self._read_serialize(
2437
2458
  python_python_publication_href=python_python_publication_href,
@@ -2554,7 +2575,7 @@ class PublicationsPypiApi:
2554
2575
  _headers: Optional[Dict[StrictStr, Any]] = None,
2555
2576
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2556
2577
  ) -> NestedRoleResponse:
2557
- """Remove a role
2578
+ """(Deprecated) Remove a role
2558
2579
 
2559
2580
  Remove a role for this object from users/groups.
2560
2581
 
@@ -2585,6 +2606,7 @@ class PublicationsPypiApi:
2585
2606
  :type _host_index: int, optional
2586
2607
  :return: Returns the result object.
2587
2608
  """ # noqa: E501
2609
+ warnings.warn("POST {python_python_publication_href}remove_role/ is deprecated.", DeprecationWarning)
2588
2610
 
2589
2611
  _param = self._remove_role_serialize(
2590
2612
  python_python_publication_href=python_python_publication_href,
@@ -2629,7 +2651,7 @@ class PublicationsPypiApi:
2629
2651
  _headers: Optional[Dict[StrictStr, Any]] = None,
2630
2652
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2631
2653
  ) -> ApiResponse[NestedRoleResponse]:
2632
- """Remove a role
2654
+ """(Deprecated) Remove a role
2633
2655
 
2634
2656
  Remove a role for this object from users/groups.
2635
2657
 
@@ -2660,6 +2682,7 @@ class PublicationsPypiApi:
2660
2682
  :type _host_index: int, optional
2661
2683
  :return: Returns the result object.
2662
2684
  """ # noqa: E501
2685
+ warnings.warn("POST {python_python_publication_href}remove_role/ is deprecated.", DeprecationWarning)
2663
2686
 
2664
2687
  _param = self._remove_role_serialize(
2665
2688
  python_python_publication_href=python_python_publication_href,
@@ -2704,7 +2727,7 @@ class PublicationsPypiApi:
2704
2727
  _headers: Optional[Dict[StrictStr, Any]] = None,
2705
2728
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2706
2729
  ) -> RESTResponseType:
2707
- """Remove a role
2730
+ """(Deprecated) Remove a role
2708
2731
 
2709
2732
  Remove a role for this object from users/groups.
2710
2733
 
@@ -2735,6 +2758,7 @@ class PublicationsPypiApi:
2735
2758
  :type _host_index: int, optional
2736
2759
  :return: Returns the result object.
2737
2760
  """ # noqa: E501
2761
+ warnings.warn("POST {python_python_publication_href}remove_role/ is deprecated.", DeprecationWarning)
2738
2762
 
2739
2763
  _param = self._remove_role_serialize(
2740
2764
  python_python_publication_href=python_python_publication_href,
@@ -949,13 +949,21 @@ class RepositoriesPythonApi:
949
949
  name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
950
950
  name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
951
951
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
952
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
952
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
953
953
  prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
954
954
  pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
955
955
  pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
956
956
  pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
957
957
  q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
958
958
  remote: Optional[StrictStr] = None,
959
+ retain_checkpoints: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints matches value")] = None,
960
+ retain_checkpoints__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is greater than value")] = None,
961
+ retain_checkpoints__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is greater than or equal to value")] = None,
962
+ retain_checkpoints__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where retain_checkpoints has a null value")] = None,
963
+ retain_checkpoints__lt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is less than value")] = None,
964
+ retain_checkpoints__lte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is less than or equal to value")] = None,
965
+ retain_checkpoints__ne: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints not equal to value")] = None,
966
+ retain_checkpoints__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where retain_checkpoints is between two comma separated values")] = None,
959
967
  retain_repo_versions: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions matches value")] = None,
960
968
  retain_repo_versions__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than value")] = None,
961
969
  retain_repo_versions__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than or equal to value")] = None,
@@ -1010,7 +1018,7 @@ class RepositoriesPythonApi:
1010
1018
  :type name__startswith: str
1011
1019
  :param offset: The initial index from which to return the results.
1012
1020
  :type offset: int
1013
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
1021
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
1014
1022
  :type ordering: List[str]
1015
1023
  :param prn__in: Multiple values may be separated by commas.
1016
1024
  :type prn__in: List[str]
@@ -1024,6 +1032,22 @@ class RepositoriesPythonApi:
1024
1032
  :type q: str
1025
1033
  :param remote:
1026
1034
  :type remote: str
1035
+ :param retain_checkpoints: Filter results where retain_checkpoints matches value
1036
+ :type retain_checkpoints: int
1037
+ :param retain_checkpoints__gt: Filter results where retain_checkpoints is greater than value
1038
+ :type retain_checkpoints__gt: int
1039
+ :param retain_checkpoints__gte: Filter results where retain_checkpoints is greater than or equal to value
1040
+ :type retain_checkpoints__gte: int
1041
+ :param retain_checkpoints__isnull: Filter results where retain_checkpoints has a null value
1042
+ :type retain_checkpoints__isnull: bool
1043
+ :param retain_checkpoints__lt: Filter results where retain_checkpoints is less than value
1044
+ :type retain_checkpoints__lt: int
1045
+ :param retain_checkpoints__lte: Filter results where retain_checkpoints is less than or equal to value
1046
+ :type retain_checkpoints__lte: int
1047
+ :param retain_checkpoints__ne: Filter results where retain_checkpoints not equal to value
1048
+ :type retain_checkpoints__ne: int
1049
+ :param retain_checkpoints__range: Filter results where retain_checkpoints is between two comma separated values
1050
+ :type retain_checkpoints__range: List[int]
1027
1051
  :param retain_repo_versions: Filter results where retain_repo_versions matches value
1028
1052
  :type retain_repo_versions: int
1029
1053
  :param retain_repo_versions__gt: Filter results where retain_repo_versions is greater than value
@@ -1089,6 +1113,14 @@ class RepositoriesPythonApi:
1089
1113
  pulp_label_select=pulp_label_select,
1090
1114
  q=q,
1091
1115
  remote=remote,
1116
+ retain_checkpoints=retain_checkpoints,
1117
+ retain_checkpoints__gt=retain_checkpoints__gt,
1118
+ retain_checkpoints__gte=retain_checkpoints__gte,
1119
+ retain_checkpoints__isnull=retain_checkpoints__isnull,
1120
+ retain_checkpoints__lt=retain_checkpoints__lt,
1121
+ retain_checkpoints__lte=retain_checkpoints__lte,
1122
+ retain_checkpoints__ne=retain_checkpoints__ne,
1123
+ retain_checkpoints__range=retain_checkpoints__range,
1092
1124
  retain_repo_versions=retain_repo_versions,
1093
1125
  retain_repo_versions__gt=retain_repo_versions__gt,
1094
1126
  retain_repo_versions__gte=retain_repo_versions__gte,
@@ -1136,13 +1168,21 @@ class RepositoriesPythonApi:
1136
1168
  name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
1137
1169
  name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
1138
1170
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
1139
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
1171
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
1140
1172
  prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1141
1173
  pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1142
1174
  pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1143
1175
  pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
1144
1176
  q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
1145
1177
  remote: Optional[StrictStr] = None,
1178
+ retain_checkpoints: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints matches value")] = None,
1179
+ retain_checkpoints__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is greater than value")] = None,
1180
+ retain_checkpoints__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is greater than or equal to value")] = None,
1181
+ retain_checkpoints__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where retain_checkpoints has a null value")] = None,
1182
+ retain_checkpoints__lt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is less than value")] = None,
1183
+ retain_checkpoints__lte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is less than or equal to value")] = None,
1184
+ retain_checkpoints__ne: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints not equal to value")] = None,
1185
+ retain_checkpoints__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where retain_checkpoints is between two comma separated values")] = None,
1146
1186
  retain_repo_versions: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions matches value")] = None,
1147
1187
  retain_repo_versions__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than value")] = None,
1148
1188
  retain_repo_versions__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than or equal to value")] = None,
@@ -1197,7 +1237,7 @@ class RepositoriesPythonApi:
1197
1237
  :type name__startswith: str
1198
1238
  :param offset: The initial index from which to return the results.
1199
1239
  :type offset: int
1200
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
1240
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
1201
1241
  :type ordering: List[str]
1202
1242
  :param prn__in: Multiple values may be separated by commas.
1203
1243
  :type prn__in: List[str]
@@ -1211,6 +1251,22 @@ class RepositoriesPythonApi:
1211
1251
  :type q: str
1212
1252
  :param remote:
1213
1253
  :type remote: str
1254
+ :param retain_checkpoints: Filter results where retain_checkpoints matches value
1255
+ :type retain_checkpoints: int
1256
+ :param retain_checkpoints__gt: Filter results where retain_checkpoints is greater than value
1257
+ :type retain_checkpoints__gt: int
1258
+ :param retain_checkpoints__gte: Filter results where retain_checkpoints is greater than or equal to value
1259
+ :type retain_checkpoints__gte: int
1260
+ :param retain_checkpoints__isnull: Filter results where retain_checkpoints has a null value
1261
+ :type retain_checkpoints__isnull: bool
1262
+ :param retain_checkpoints__lt: Filter results where retain_checkpoints is less than value
1263
+ :type retain_checkpoints__lt: int
1264
+ :param retain_checkpoints__lte: Filter results where retain_checkpoints is less than or equal to value
1265
+ :type retain_checkpoints__lte: int
1266
+ :param retain_checkpoints__ne: Filter results where retain_checkpoints not equal to value
1267
+ :type retain_checkpoints__ne: int
1268
+ :param retain_checkpoints__range: Filter results where retain_checkpoints is between two comma separated values
1269
+ :type retain_checkpoints__range: List[int]
1214
1270
  :param retain_repo_versions: Filter results where retain_repo_versions matches value
1215
1271
  :type retain_repo_versions: int
1216
1272
  :param retain_repo_versions__gt: Filter results where retain_repo_versions is greater than value
@@ -1276,6 +1332,14 @@ class RepositoriesPythonApi:
1276
1332
  pulp_label_select=pulp_label_select,
1277
1333
  q=q,
1278
1334
  remote=remote,
1335
+ retain_checkpoints=retain_checkpoints,
1336
+ retain_checkpoints__gt=retain_checkpoints__gt,
1337
+ retain_checkpoints__gte=retain_checkpoints__gte,
1338
+ retain_checkpoints__isnull=retain_checkpoints__isnull,
1339
+ retain_checkpoints__lt=retain_checkpoints__lt,
1340
+ retain_checkpoints__lte=retain_checkpoints__lte,
1341
+ retain_checkpoints__ne=retain_checkpoints__ne,
1342
+ retain_checkpoints__range=retain_checkpoints__range,
1279
1343
  retain_repo_versions=retain_repo_versions,
1280
1344
  retain_repo_versions__gt=retain_repo_versions__gt,
1281
1345
  retain_repo_versions__gte=retain_repo_versions__gte,
@@ -1323,13 +1387,21 @@ class RepositoriesPythonApi:
1323
1387
  name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
1324
1388
  name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
1325
1389
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
1326
- ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
1390
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
1327
1391
  prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1328
1392
  pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1329
1393
  pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
1330
1394
  pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
1331
1395
  q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
1332
1396
  remote: Optional[StrictStr] = None,
1397
+ retain_checkpoints: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints matches value")] = None,
1398
+ retain_checkpoints__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is greater than value")] = None,
1399
+ retain_checkpoints__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is greater than or equal to value")] = None,
1400
+ retain_checkpoints__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where retain_checkpoints has a null value")] = None,
1401
+ retain_checkpoints__lt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is less than value")] = None,
1402
+ retain_checkpoints__lte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints is less than or equal to value")] = None,
1403
+ retain_checkpoints__ne: Annotated[Optional[StrictInt], Field(description="Filter results where retain_checkpoints not equal to value")] = None,
1404
+ retain_checkpoints__range: Annotated[Optional[List[StrictInt]], Field(description="Filter results where retain_checkpoints is between two comma separated values")] = None,
1333
1405
  retain_repo_versions: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions matches value")] = None,
1334
1406
  retain_repo_versions__gt: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than value")] = None,
1335
1407
  retain_repo_versions__gte: Annotated[Optional[StrictInt], Field(description="Filter results where retain_repo_versions is greater than or equal to value")] = None,
@@ -1384,7 +1456,7 @@ class RepositoriesPythonApi:
1384
1456
  :type name__startswith: str
1385
1457
  :param offset: The initial index from which to return the results.
1386
1458
  :type offset: int
1387
- :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
1459
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
1388
1460
  :type ordering: List[str]
1389
1461
  :param prn__in: Multiple values may be separated by commas.
1390
1462
  :type prn__in: List[str]
@@ -1398,6 +1470,22 @@ class RepositoriesPythonApi:
1398
1470
  :type q: str
1399
1471
  :param remote:
1400
1472
  :type remote: str
1473
+ :param retain_checkpoints: Filter results where retain_checkpoints matches value
1474
+ :type retain_checkpoints: int
1475
+ :param retain_checkpoints__gt: Filter results where retain_checkpoints is greater than value
1476
+ :type retain_checkpoints__gt: int
1477
+ :param retain_checkpoints__gte: Filter results where retain_checkpoints is greater than or equal to value
1478
+ :type retain_checkpoints__gte: int
1479
+ :param retain_checkpoints__isnull: Filter results where retain_checkpoints has a null value
1480
+ :type retain_checkpoints__isnull: bool
1481
+ :param retain_checkpoints__lt: Filter results where retain_checkpoints is less than value
1482
+ :type retain_checkpoints__lt: int
1483
+ :param retain_checkpoints__lte: Filter results where retain_checkpoints is less than or equal to value
1484
+ :type retain_checkpoints__lte: int
1485
+ :param retain_checkpoints__ne: Filter results where retain_checkpoints not equal to value
1486
+ :type retain_checkpoints__ne: int
1487
+ :param retain_checkpoints__range: Filter results where retain_checkpoints is between two comma separated values
1488
+ :type retain_checkpoints__range: List[int]
1401
1489
  :param retain_repo_versions: Filter results where retain_repo_versions matches value
1402
1490
  :type retain_repo_versions: int
1403
1491
  :param retain_repo_versions__gt: Filter results where retain_repo_versions is greater than value
@@ -1463,6 +1551,14 @@ class RepositoriesPythonApi:
1463
1551
  pulp_label_select=pulp_label_select,
1464
1552
  q=q,
1465
1553
  remote=remote,
1554
+ retain_checkpoints=retain_checkpoints,
1555
+ retain_checkpoints__gt=retain_checkpoints__gt,
1556
+ retain_checkpoints__gte=retain_checkpoints__gte,
1557
+ retain_checkpoints__isnull=retain_checkpoints__isnull,
1558
+ retain_checkpoints__lt=retain_checkpoints__lt,
1559
+ retain_checkpoints__lte=retain_checkpoints__lte,
1560
+ retain_checkpoints__ne=retain_checkpoints__ne,
1561
+ retain_checkpoints__range=retain_checkpoints__range,
1466
1562
  retain_repo_versions=retain_repo_versions,
1467
1563
  retain_repo_versions__gt=retain_repo_versions__gt,
1468
1564
  retain_repo_versions__gte=retain_repo_versions__gte,
@@ -1512,6 +1608,14 @@ class RepositoriesPythonApi:
1512
1608
  pulp_label_select,
1513
1609
  q,
1514
1610
  remote,
1611
+ retain_checkpoints,
1612
+ retain_checkpoints__gt,
1613
+ retain_checkpoints__gte,
1614
+ retain_checkpoints__isnull,
1615
+ retain_checkpoints__lt,
1616
+ retain_checkpoints__lte,
1617
+ retain_checkpoints__ne,
1618
+ retain_checkpoints__range,
1515
1619
  retain_repo_versions,
1516
1620
  retain_repo_versions__gt,
1517
1621
  retain_repo_versions__gte,
@@ -1538,6 +1642,7 @@ class RepositoriesPythonApi:
1538
1642
  'prn__in': 'csv',
1539
1643
  'pulp_href__in': 'csv',
1540
1644
  'pulp_id__in': 'csv',
1645
+ 'retain_checkpoints__range': 'csv',
1541
1646
  'retain_repo_versions__range': 'csv',
1542
1647
  'fields': 'multi',
1543
1648
  'exclude_fields': 'multi',
@@ -1630,6 +1735,38 @@ class RepositoriesPythonApi:
1630
1735
 
1631
1736
  _query_params.append(('remote', remote))
1632
1737
 
1738
+ if retain_checkpoints is not None:
1739
+
1740
+ _query_params.append(('retain_checkpoints', retain_checkpoints))
1741
+
1742
+ if retain_checkpoints__gt is not None:
1743
+
1744
+ _query_params.append(('retain_checkpoints__gt', retain_checkpoints__gt))
1745
+
1746
+ if retain_checkpoints__gte is not None:
1747
+
1748
+ _query_params.append(('retain_checkpoints__gte', retain_checkpoints__gte))
1749
+
1750
+ if retain_checkpoints__isnull is not None:
1751
+
1752
+ _query_params.append(('retain_checkpoints__isnull', retain_checkpoints__isnull))
1753
+
1754
+ if retain_checkpoints__lt is not None:
1755
+
1756
+ _query_params.append(('retain_checkpoints__lt', retain_checkpoints__lt))
1757
+
1758
+ if retain_checkpoints__lte is not None:
1759
+
1760
+ _query_params.append(('retain_checkpoints__lte', retain_checkpoints__lte))
1761
+
1762
+ if retain_checkpoints__ne is not None:
1763
+
1764
+ _query_params.append(('retain_checkpoints__ne', retain_checkpoints__ne))
1765
+
1766
+ if retain_checkpoints__range is not None:
1767
+
1768
+ _query_params.append(('retain_checkpoints__range', retain_checkpoints__range))
1769
+
1633
1770
  if retain_repo_versions is not None:
1634
1771
 
1635
1772
  _query_params.append(('retain_repo_versions', retain_repo_versions))
@@ -91,7 +91,7 @@ class ApiClient:
91
91
  self.default_headers[header_name] = header_value
92
92
  self.cookie = cookie
93
93
  # Set default User-Agent.
94
- self.user_agent = 'OpenAPI-Generator/3.26.1/python'
94
+ self.user_agent = 'OpenAPI-Generator/3.27.1/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -556,7 +556,7 @@ conf = pulpcore.client.pulp_python.Configuration(
556
556
  "OS: {env}\n"\
557
557
  "Python Version: {pyversion}\n"\
558
558
  "Version of the API: v3\n"\
559
- "SDK Package Version: 3.26.1".\
559
+ "SDK Package Version: 3.27.1".\
560
560
  format(env=sys.platform, pyversion=sys.version)
561
561
 
562
562
  def get_host_settings(self) -> List[HostSetting]:
@@ -34,11 +34,11 @@ class PatchedpythonPythonDistribution(BaseModel):
34
34
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
35
35
  name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name. Ex, `rawhide` and `stable`.")
36
36
  repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
37
- publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
38
37
  repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
38
+ publication: Optional[StrictStr] = Field(default=None, description="Publication to be served. [Deprecated]")
39
39
  allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
40
40
  remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
41
- __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
41
+ __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "repository_version", "publication", "allow_uploads", "remote"]
42
42
 
43
43
  model_config = ConfigDict(
44
44
  populate_by_name=True,
@@ -89,16 +89,16 @@ class PatchedpythonPythonDistribution(BaseModel):
89
89
  if self.repository is None and "repository" in self.model_fields_set:
90
90
  _dict['repository'] = None
91
91
 
92
- # set to None if publication (nullable) is None
93
- # and model_fields_set contains the field
94
- if self.publication is None and "publication" in self.model_fields_set:
95
- _dict['publication'] = None
96
-
97
92
  # set to None if repository_version (nullable) is None
98
93
  # and model_fields_set contains the field
99
94
  if self.repository_version is None and "repository_version" in self.model_fields_set:
100
95
  _dict['repository_version'] = None
101
96
 
97
+ # set to None if publication (nullable) is None
98
+ # and model_fields_set contains the field
99
+ if self.publication is None and "publication" in self.model_fields_set:
100
+ _dict['publication'] = None
101
+
102
102
  # set to None if remote (nullable) is None
103
103
  # and model_fields_set contains the field
104
104
  if self.remote is None and "remote" in self.model_fields_set:
@@ -32,9 +32,10 @@ class PatchedpythonPythonRepository(BaseModel):
32
32
  name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this repository.")
33
33
  description: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="An optional description.")
34
34
  retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
35
+ retain_checkpoints: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.")
35
36
  remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
36
- autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
37
- __properties: ClassVar[List[str]] = ["pulp_labels", "name", "description", "retain_repo_versions", "remote", "autopublish"]
37
+ autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]")
38
+ __properties: ClassVar[List[str]] = ["pulp_labels", "name", "description", "retain_repo_versions", "retain_checkpoints", "remote", "autopublish"]
38
39
 
39
40
  model_config = ConfigDict(
40
41
  populate_by_name=True,
@@ -85,6 +86,11 @@ class PatchedpythonPythonRepository(BaseModel):
85
86
  if self.retain_repo_versions is None and "retain_repo_versions" in self.model_fields_set:
86
87
  _dict['retain_repo_versions'] = None
87
88
 
89
+ # set to None if retain_checkpoints (nullable) is None
90
+ # and model_fields_set contains the field
91
+ if self.retain_checkpoints is None and "retain_checkpoints" in self.model_fields_set:
92
+ _dict['retain_checkpoints'] = None
93
+
88
94
  # set to None if remote (nullable) is None
89
95
  # and model_fields_set contains the field
90
96
  if self.remote is None and "remote" in self.model_fields_set:
@@ -34,11 +34,11 @@ class PythonPythonDistribution(BaseModel):
34
34
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
35
35
  name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name. Ex, `rawhide` and `stable`.")
36
36
  repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
37
- publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
38
37
  repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
38
+ publication: Optional[StrictStr] = Field(default=None, description="Publication to be served. [Deprecated]")
39
39
  allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
40
40
  remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
41
- __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
41
+ __properties: ClassVar[List[str]] = ["base_path", "content_guard", "hidden", "pulp_labels", "name", "repository", "repository_version", "publication", "allow_uploads", "remote"]
42
42
 
43
43
  model_config = ConfigDict(
44
44
  populate_by_name=True,
@@ -89,16 +89,16 @@ class PythonPythonDistribution(BaseModel):
89
89
  if self.repository is None and "repository" in self.model_fields_set:
90
90
  _dict['repository'] = None
91
91
 
92
- # set to None if publication (nullable) is None
93
- # and model_fields_set contains the field
94
- if self.publication is None and "publication" in self.model_fields_set:
95
- _dict['publication'] = None
96
-
97
92
  # set to None if repository_version (nullable) is None
98
93
  # and model_fields_set contains the field
99
94
  if self.repository_version is None and "repository_version" in self.model_fields_set:
100
95
  _dict['repository_version'] = None
101
96
 
97
+ # set to None if publication (nullable) is None
98
+ # and model_fields_set contains the field
99
+ if self.publication is None and "publication" in self.model_fields_set:
100
+ _dict['publication'] = None
101
+
102
102
  # set to None if remote (nullable) is None
103
103
  # and model_fields_set contains the field
104
104
  if self.remote is None and "remote" in self.model_fields_set:
@@ -35,16 +35,17 @@ class PythonPythonDistributionResponse(BaseModel):
35
35
  base_path: StrictStr = Field(description="The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")")
36
36
  base_url: Optional[StrictStr] = None
37
37
  content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
38
+ content_guard_prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN) of the associated optional content guard.")
38
39
  no_content_change_since: Optional[StrictStr] = Field(default=None, description="Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.")
39
40
  hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
40
41
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
41
42
  name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
42
43
  repository: Optional[StrictStr] = Field(default=None, description="The latest RepositoryVersion for this Repository will be served.")
43
- publication: Optional[StrictStr] = Field(default=None, description="Publication to be served")
44
44
  repository_version: Optional[StrictStr] = Field(default=None, description="RepositoryVersion to be served.")
45
+ publication: Optional[StrictStr] = Field(default=None, description="Publication to be served. [Deprecated]")
45
46
  allow_uploads: Optional[StrictBool] = Field(default=True, description="Allow packages to be uploaded to this index.")
46
47
  remote: Optional[StrictStr] = Field(default=None, description="Remote that can be used to fetch content when using pull-through caching.")
47
- __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "base_path", "base_url", "content_guard", "no_content_change_since", "hidden", "pulp_labels", "name", "repository", "publication", "repository_version", "allow_uploads", "remote"]
48
+ __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "base_path", "base_url", "content_guard", "content_guard_prn", "no_content_change_since", "hidden", "pulp_labels", "name", "repository", "repository_version", "publication", "allow_uploads", "remote"]
48
49
 
49
50
  model_config = ConfigDict(
50
51
  populate_by_name=True,
@@ -82,6 +83,7 @@ class PythonPythonDistributionResponse(BaseModel):
82
83
  * OpenAPI `readOnly` fields are excluded.
83
84
  * OpenAPI `readOnly` fields are excluded.
84
85
  * OpenAPI `readOnly` fields are excluded.
86
+ * OpenAPI `readOnly` fields are excluded.
85
87
  """
86
88
  excluded_fields: Set[str] = set([
87
89
  "pulp_href",
@@ -89,6 +91,7 @@ class PythonPythonDistributionResponse(BaseModel):
89
91
  "pulp_created",
90
92
  "pulp_last_updated",
91
93
  "base_url",
94
+ "content_guard_prn",
92
95
  "no_content_change_since",
93
96
  ])
94
97
 
@@ -107,16 +110,16 @@ class PythonPythonDistributionResponse(BaseModel):
107
110
  if self.repository is None and "repository" in self.model_fields_set:
108
111
  _dict['repository'] = None
109
112
 
110
- # set to None if publication (nullable) is None
111
- # and model_fields_set contains the field
112
- if self.publication is None and "publication" in self.model_fields_set:
113
- _dict['publication'] = None
114
-
115
113
  # set to None if repository_version (nullable) is None
116
114
  # and model_fields_set contains the field
117
115
  if self.repository_version is None and "repository_version" in self.model_fields_set:
118
116
  _dict['repository_version'] = None
119
117
 
118
+ # set to None if publication (nullable) is None
119
+ # and model_fields_set contains the field
120
+ if self.publication is None and "publication" in self.model_fields_set:
121
+ _dict['publication'] = None
122
+
120
123
  # set to None if remote (nullable) is None
121
124
  # and model_fields_set contains the field
122
125
  if self.remote is None and "remote" in self.model_fields_set:
@@ -32,9 +32,10 @@ class PythonPythonRepository(BaseModel):
32
32
  name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this repository.")
33
33
  description: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="An optional description.")
34
34
  retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
35
+ retain_checkpoints: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.")
35
36
  remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
36
- autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
37
- __properties: ClassVar[List[str]] = ["pulp_labels", "name", "description", "retain_repo_versions", "remote", "autopublish"]
37
+ autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]")
38
+ __properties: ClassVar[List[str]] = ["pulp_labels", "name", "description", "retain_repo_versions", "retain_checkpoints", "remote", "autopublish"]
38
39
 
39
40
  model_config = ConfigDict(
40
41
  populate_by_name=True,
@@ -85,6 +86,11 @@ class PythonPythonRepository(BaseModel):
85
86
  if self.retain_repo_versions is None and "retain_repo_versions" in self.model_fields_set:
86
87
  _dict['retain_repo_versions'] = None
87
88
 
89
+ # set to None if retain_checkpoints (nullable) is None
90
+ # and model_fields_set contains the field
91
+ if self.retain_checkpoints is None and "retain_checkpoints" in self.model_fields_set:
92
+ _dict['retain_checkpoints'] = None
93
+
88
94
  # set to None if remote (nullable) is None
89
95
  # and model_fields_set contains the field
90
96
  if self.remote is None and "remote" in self.model_fields_set:
@@ -39,9 +39,10 @@ class PythonPythonRepositoryResponse(BaseModel):
39
39
  name: StrictStr = Field(description="A unique name for this repository.")
40
40
  description: Optional[StrictStr] = Field(default=None, description="An optional description.")
41
41
  retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
42
+ retain_checkpoints: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.")
42
43
  remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
43
- autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
44
- __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "versions_href", "pulp_labels", "latest_version_href", "name", "description", "retain_repo_versions", "remote", "autopublish"]
44
+ autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]")
45
+ __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "versions_href", "pulp_labels", "latest_version_href", "name", "description", "retain_repo_versions", "retain_checkpoints", "remote", "autopublish"]
45
46
 
46
47
  model_config = ConfigDict(
47
48
  populate_by_name=True,
@@ -104,6 +105,11 @@ class PythonPythonRepositoryResponse(BaseModel):
104
105
  if self.retain_repo_versions is None and "retain_repo_versions" in self.model_fields_set:
105
106
  _dict['retain_repo_versions'] = None
106
107
 
108
+ # set to None if retain_checkpoints (nullable) is None
109
+ # and model_fields_set contains the field
110
+ if self.retain_checkpoints is None and "retain_checkpoints" in self.model_fields_set:
111
+ _dict['retain_checkpoints'] = None
112
+
107
113
  # set to None if remote (nullable) is None
108
114
  # and model_fields_set contains the field
109
115
  if self.remote is None and "remote" in self.model_fields_set: