pulp-python-client 3.36.3__py3-none-any.whl → 3.37.0__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.36.3
3
+ Version: 3.37.0
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -23,7 +23,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
23
23
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
24
24
 
25
25
  - API version: v3
26
- - Package version: 3.36.3
26
+ - Package version: 3.37.0
27
27
  - Generator version: 7.19.0
28
28
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
29
29
  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=r_vSsb5bV0zZ5oIyoGGwp0zZcmp3uS_WXqsIOZ7e7a0,12482
4
- pulpcore/client/pulp_python/api_client.py,sha256=r5DTTuZ7Sy0UOERjIhX4guuWrMZW573j4HrWafqQqzY,27853
3
+ pulpcore/client/pulp_python/__init__.py,sha256=ehVISW3irCQZ-Gj_I0yuNClwGhDb50b17OYWzTpSh1Q,12482
4
+ pulpcore/client/pulp_python/api_client.py,sha256=swPUQ9zstMg1lTs_93HNb4iExVRIcDomx2d37tV-XN4,27853
5
5
  pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
6
- pulpcore/client/pulp_python/configuration.py,sha256=WQ1-S2IjBxL_vIlQ7aVwfuAOYWQRcNl_dipK-ebttn4,19858
6
+ pulpcore/client/pulp_python/configuration.py,sha256=xYHrT-bUXMfan9TKfPDU0ZGY4WJOgJxo70Omm5KMDZg,19858
7
7
  pulpcore/client/pulp_python/exceptions.py,sha256=Fsv2zEzULrsk-_KDtVSHSCRArB6jK8ZCbhFeS0_EUSs,6523
8
8
  pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pulpcore/client/pulp_python/rest.py,sha256=K_cgcVFoJaac0-QiXjSmq5-JEkxQ7MeJIypgDa6VOM8,9969
@@ -37,7 +37,7 @@ pulpcore/client/pulp_python/models/my_permissions_response.py,sha256=TyVgzd2Q-oD
37
37
  pulpcore/client/pulp_python/models/nested_role.py,sha256=S3mfqb6_OUIy3UJMkS-W8nhuYtnGGeMiUEboJQfzxQQ,2875
38
38
  pulpcore/client/pulp_python/models/nested_role_response.py,sha256=Ti4M0hyccnqVI1V5tfN3r2GGeTujVlYWZ6CqcsJeON0,2746
39
39
  pulpcore/client/pulp_python/models/object_roles_response.py,sha256=jIHKhrNXmQujixs_ELIbVsmFRo2c0WSI-u6UYRvQuRY,2841
40
- pulpcore/client/pulp_python/models/package_metadata_response.py,sha256=Rf-FCzbRmmchhvA4GmG9tRZFTjhQ3ULg4ZaQHWrp8Zw,3267
40
+ pulpcore/client/pulp_python/models/package_metadata_response.py,sha256=rWVB4NoWBZ1whP_eoaii1uo0_LAzqPFHxGzdzE6wNxA,3564
41
41
  pulpcore/client/pulp_python/models/package_types_enum.py,sha256=IxfhKcGOGO-63Uewkd9iYmgNVjD-pFctINtq2l7zwbE,1129
42
42
  pulpcore/client/pulp_python/models/package_upload_task_response.py,sha256=ZYQftU0lUWixmSugCTaXiqrRJyWqLK5Dj8_P321FeZQ,3082
43
43
  pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py,sha256=L9vz682UTtptrST_fehu7SRMT9n-8GFUyo1J3nwNS90,3116
@@ -50,7 +50,7 @@ pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_l
50
50
  pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py,sha256=Tw5MfinFbHiTFfMXvon-ewbzThn0esSMCm_9tbfsRHE,3124
51
51
  pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py,sha256=wYt-77wDUPxe8ziBBh8mDGdbWrbNdB0USl0oIr7MXEA,3152
52
52
  pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=HZodEXJxEdq7oMaZMym7n48uym7KMIr31tctntC6v4A,5191
53
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=jOj8e1o0wWRoy8trQWKrRc7DPuvaOW45Dy0NgC1plRQ,12476
53
+ pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=xQUGqi7RiX5nJEkFl1CTCL57ZSEuoCs6yOmhfG9eDps,12652
54
54
  pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=hu3YYt8ZY0QDc6qbiA58J3vcoSmYlVoKaKX5psPUYEY,5624
55
55
  pulpcore/client/pulp_python/models/policy_enum.py,sha256=alBNbWymx71uIJJLX3vvtlW-2wIql23bfXHM-DtgCww,1254
56
56
  pulpcore/client/pulp_python/models/protocol_version_enum.py,sha256=1q2qEVmae6pmjjhhNO9-H6gOEo8ZssDV_yjbWxEpciE,718
@@ -63,8 +63,8 @@ pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256
63
63
  pulpcore/client/pulp_python/models/python_python_package_content_response.py,sha256=jHzrp84zDmugZ7K8kUXFJ02TdMyXmznZZgndpfZZ-NA,11349
64
64
  pulpcore/client/pulp_python/models/python_python_publication.py,sha256=OWMbDI01CbJZxWSecyMeSNAhd8Ar18Xz4LBSe1Z4bvc,2651
65
65
  pulpcore/client/pulp_python/models/python_python_publication_response.py,sha256=pMwSqj6e0NGFCeTnyc3Yj4UHdiVOT10zXdeJ1LCSRwI,3759
66
- pulpcore/client/pulp_python/models/python_python_remote.py,sha256=EFYcrL5y7lH8-FA8wLNbBHRNEA7H6UxmYOksDOVGlbk,12407
67
- pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=LDLLJGIrczdA_s_uXXCqbYhHBjZvlnXxIgSmosDjKM8,11444
66
+ pulpcore/client/pulp_python/models/python_python_remote.py,sha256=Da2Qa9qx5PSzjGiXaynwFszaxuBmsLYaN2WdGkZQWck,12583
67
+ pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=dNi5Z6jYV1zAB_-tHzqhdyXNlvjg0VwII9Bimwcqfs0,11620
68
68
  pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py,sha256=sZSm0FCX3tMFo7Yjt7jOUzI0OGmgrwrdNtBknQVBKmQ,2574
69
69
  pulpcore/client/pulp_python/models/python_python_repository.py,sha256=wtE_-41YwQ_TZa6gtr93NCRLs7OPBSlCKfWaoWXP_mA,5579
70
70
  pulpcore/client/pulp_python/models/python_python_repository_response.py,sha256=Y9Ulo7abg4laSQBJD6mLwGStQk84SRBbI1ZFYlA1EBc,6980
@@ -80,7 +80,7 @@ pulpcore/client/pulp_python/models/summary_response.py,sha256=UW-FGA9ffCbn7a6czq
80
80
  pulpcore/client/pulp_python/models/unset_label.py,sha256=bioUtBJUl9y7hpLJ4iYYhcQ4sXj-FRUZq0In2gEGbxU,2507
81
81
  pulpcore/client/pulp_python/models/unset_label_response.py,sha256=iaHiYMGW-vu1fIHnzasVzMhY_0AHiYzvy48mfQOuw5M,2584
82
82
  pulpcore/client/pulp_python/models/yank.py,sha256=eZHpaW8NfheoB_D9TI7WVnOFEXpEAXmd-SIZ-aqR8ZI,2856
83
- pulp_python_client-3.36.3.dist-info/METADATA,sha256=4eAulmcr6DvjsEHPzL6-9n4ALqLniWqIRooBbfu7ses,25351
84
- pulp_python_client-3.36.3.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
85
- pulp_python_client-3.36.3.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
86
- pulp_python_client-3.36.3.dist-info/RECORD,,
83
+ pulp_python_client-3.37.0.dist-info/METADATA,sha256=g6JWiIT3Lbjv_TShSOWm2sRz93hlpoHtXLFHZ9IFavc,25351
84
+ pulp_python_client-3.37.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
85
+ pulp_python_client-3.37.0.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
86
+ pulp_python_client-3.37.0.dist-info/RECORD,,
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "3.36.3"
18
+ __version__ = "3.37.0"
19
19
 
20
20
  # Define package exports
21
21
  __all__ = [
@@ -92,7 +92,7 @@ class ApiClient:
92
92
  self.default_headers[header_name] = header_value
93
93
  self.cookie = cookie
94
94
  # Set default User-Agent.
95
- self.user_agent = 'OpenAPI-Generator/3.36.3/python'
95
+ self.user_agent = 'OpenAPI-Generator/3.37.0/python'
96
96
  self.client_side_validation = configuration.client_side_validation
97
97
 
98
98
  def __enter__(self):
@@ -561,7 +561,7 @@ conf = pulpcore.client.pulp_python.Configuration(
561
561
  "OS: {env}\n"\
562
562
  "Python Version: {pyversion}\n"\
563
563
  "Version of the API: v3\n"\
564
- "SDK Package Version: 3.36.3".\
564
+ "SDK Package Version: 3.37.0".\
565
565
  format(env=sys.platform, pyversion=sys.version)
566
566
 
567
567
  def get_host_settings(self) -> List[HostSetting]:
@@ -31,7 +31,8 @@ class PackageMetadataResponse(BaseModel):
31
31
  info: Optional[Any]
32
32
  releases: Optional[Any]
33
33
  urls: Optional[Any]
34
- __properties: ClassVar[List[str]] = ["last_serial", "info", "releases", "urls"]
34
+ vulnerabilities: Optional[Any]
35
+ __properties: ClassVar[List[str]] = ["last_serial", "info", "releases", "urls", "vulnerabilities"]
35
36
 
36
37
  model_config = ConfigDict(
37
38
  populate_by_name=True,
@@ -87,6 +88,11 @@ class PackageMetadataResponse(BaseModel):
87
88
  if self.urls is None and "urls" in self.model_fields_set:
88
89
  _dict['urls'] = None
89
90
 
91
+ # set to None if vulnerabilities (nullable) is None
92
+ # and model_fields_set contains the field
93
+ if self.vulnerabilities is None and "vulnerabilities" in self.model_fields_set:
94
+ _dict['vulnerabilities'] = None
95
+
90
96
  return _dict
91
97
 
92
98
  @classmethod
@@ -59,7 +59,8 @@ class PatchedpythonPythonRemote(BaseModel):
59
59
  keep_latest_packages: Optional[StrictInt] = Field(default=0, description="The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions.")
60
60
  exclude_platforms: Optional[List[ExcludePlatformsEnum]] = Field(default=None, description="List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux.")
61
61
  provenance: Optional[StrictBool] = Field(default=False, description="Whether to sync available provenances for Python packages.")
62
- __properties: ClassVar[List[str]] = ["name", "url", "pulp_labels", "policy", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "includes", "excludes", "prereleases", "package_types", "keep_latest_packages", "exclude_platforms", "provenance"]
62
+ vulnerabilities: Optional[StrictBool] = Field(default=False, description="Whether to scan the new repository version for vulnerabilities after a sync.")
63
+ __properties: ClassVar[List[str]] = ["name", "url", "pulp_labels", "policy", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "includes", "excludes", "prereleases", "package_types", "keep_latest_packages", "exclude_platforms", "provenance", "vulnerabilities"]
63
64
 
64
65
  model_config = ConfigDict(
65
66
  populate_by_name=True,
@@ -59,7 +59,8 @@ class PythonPythonRemote(BaseModel):
59
59
  keep_latest_packages: Optional[StrictInt] = Field(default=0, description="The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions.")
60
60
  exclude_platforms: Optional[List[ExcludePlatformsEnum]] = Field(default=None, description="List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux.")
61
61
  provenance: Optional[StrictBool] = Field(default=False, description="Whether to sync available provenances for Python packages.")
62
- __properties: ClassVar[List[str]] = ["name", "url", "pulp_labels", "policy", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "includes", "excludes", "prereleases", "package_types", "keep_latest_packages", "exclude_platforms", "provenance"]
62
+ vulnerabilities: Optional[StrictBool] = Field(default=False, description="Whether to scan the new repository version for vulnerabilities after a sync.")
63
+ __properties: ClassVar[List[str]] = ["name", "url", "pulp_labels", "policy", "ca_cert", "client_cert", "client_key", "tls_validation", "proxy_url", "proxy_username", "proxy_password", "username", "password", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "includes", "excludes", "prereleases", "package_types", "keep_latest_packages", "exclude_platforms", "provenance", "vulnerabilities"]
63
64
 
64
65
  model_config = ConfigDict(
65
66
  populate_by_name=True,
@@ -61,7 +61,8 @@ class PythonPythonRemoteResponse(BaseModel):
61
61
  keep_latest_packages: Optional[StrictInt] = Field(default=0, description="The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions.")
62
62
  exclude_platforms: Optional[List[ExcludePlatformsEnum]] = Field(default=None, description="List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux.")
63
63
  provenance: Optional[StrictBool] = Field(default=False, description="Whether to sync available provenances for Python packages.")
64
- __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "name", "url", "pulp_labels", "policy", "hidden_fields", "ca_cert", "client_cert", "tls_validation", "proxy_url", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "includes", "excludes", "prereleases", "package_types", "keep_latest_packages", "exclude_platforms", "provenance"]
64
+ vulnerabilities: Optional[StrictBool] = Field(default=False, description="Whether to scan the new repository version for vulnerabilities after a sync.")
65
+ __properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "name", "url", "pulp_labels", "policy", "hidden_fields", "ca_cert", "client_cert", "tls_validation", "proxy_url", "max_retries", "total_timeout", "connect_timeout", "sock_connect_timeout", "sock_read_timeout", "headers", "download_concurrency", "rate_limit", "includes", "excludes", "prereleases", "package_types", "keep_latest_packages", "exclude_platforms", "provenance", "vulnerabilities"]
65
66
 
66
67
  model_config = ConfigDict(
67
68
  populate_by_name=True,