crc-pulp-python-client 20250828.2__py3-none-any.whl → 20250829.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.
Potentially problematic release.
This version of crc-pulp-python-client might be problematic. Click here for more details.
- {crc_pulp_python_client-20250828.2.dist-info → crc_pulp_python_client-20250829.1.dist-info}/METADATA +1 -1
- crc_pulp_python_client-20250829.1.dist-info/RECORD +64 -0
- crc_pulp_python_client-20250829.1.dist-info/top_level.txt +1 -0
- pulpcore/client/__init__.py +2 -0
- pulpcore/client/pulp_python/__init__.py +82 -0
- pulpcore/client/pulp_python/api/__init__.py +14 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/content_packages_api.py +774 -16
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/distributions_pypi_api.py +17 -17
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/publications_pypi_api.py +12 -12
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/pypi_api.py +4 -4
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/pypi_legacy_api.py +4 -4
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/pypi_metadata_api.py +4 -4
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/pypi_simple_api.py +4 -4
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/remotes_python_api.py +17 -17
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/repositories_python_api.py +19 -19
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api/repositories_python_versions_api.py +8 -8
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api_client.py +7 -7
- {crc-pulp_python-client → pulpcore/client/pulp_python}/configuration.py +6 -6
- pulpcore/client/pulp_python/models/__init__.py +56 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/object_roles_response.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/paginated_repository_version_response_list.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/paginatedpython_python_distribution_response_list.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/paginatedpython_python_package_content_response_list.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/paginatedpython_python_publication_response_list.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/paginatedpython_python_remote_response_list.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/paginatedpython_python_repository_response_list.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/patchedpython_python_remote.py +3 -3
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_package_content_response.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_remote.py +3 -3
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_remote_response.py +4 -4
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/repository_version_response.py +1 -1
- {crc-pulp_python-client → pulpcore/client/pulp_python}/rest.py +1 -1
- crc-pulp_python-client/api/__init__.py +0 -14
- crc-pulp_python-client/models/__init__.py +0 -56
- crc_pulp_python_client-20250828.2.dist-info/RECORD +0 -62
- crc_pulp_python_client-20250828.2.dist-info/top_level.txt +0 -1
- {crc_pulp_python_client-20250828.2.dist-info → crc_pulp_python_client-20250829.1.dist-info}/WHEEL +0 -0
- {crc-pulp_python-client → pulpcore}/__init__.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/api_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/exceptions.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/async_operation_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/content_summary_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/exclude_platforms_enum.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/my_permissions_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/nested_role.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/nested_role_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/package_metadata_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/package_types_enum.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/package_upload_task_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/patchedpython_python_distribution.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/patchedpython_python_repository.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/policy_enum.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_distribution.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_distribution_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_publication.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_publication_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_repository.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_repository_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/repair.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/repository_add_remove_content.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/repository_sync_url.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/set_label.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/set_label_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/summary_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/unset_label.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/models/unset_label_response.py +0 -0
- {crc-pulp_python-client → pulpcore/client/pulp_python}/py.typed +0 -0
|
@@ -20,23 +20,23 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
28
|
-
from
|
|
29
|
-
from
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
from
|
|
33
|
-
from
|
|
34
|
-
from
|
|
35
|
-
from
|
|
36
|
-
|
|
37
|
-
from
|
|
38
|
-
from
|
|
39
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
24
|
+
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
25
|
+
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
26
|
+
from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
|
|
27
|
+
from pulpcore.client.pulp_python.models.object_roles_response import ObjectRolesResponse
|
|
28
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_response_list import PaginatedpythonPythonDistributionResponseList
|
|
29
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_distribution import PatchedpythonPythonDistribution
|
|
30
|
+
from pulpcore.client.pulp_python.models.python_python_distribution import PythonPythonDistribution
|
|
31
|
+
from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
|
|
32
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
33
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
34
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
35
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
36
|
+
|
|
37
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
38
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
39
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
class DistributionsPypiApi:
|
|
@@ -21,18 +21,18 @@ from datetime import datetime
|
|
|
21
21
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
22
22
|
from typing import List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
28
|
-
from
|
|
29
|
-
from
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
|
|
33
|
-
from
|
|
34
|
-
from
|
|
35
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
25
|
+
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
26
|
+
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
27
|
+
from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
|
|
28
|
+
from pulpcore.client.pulp_python.models.object_roles_response import ObjectRolesResponse
|
|
29
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_publication_response_list import PaginatedpythonPythonPublicationResponseList
|
|
30
|
+
from pulpcore.client.pulp_python.models.python_python_publication import PythonPythonPublication
|
|
31
|
+
from pulpcore.client.pulp_python.models.python_python_publication_response import PythonPythonPublicationResponse
|
|
32
|
+
|
|
33
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
34
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
35
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
class PublicationsPypiApi:
|
|
@@ -20,11 +20,11 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictStr
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
|
|
24
24
|
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
25
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
26
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
27
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class PypiApi:
|
|
@@ -20,11 +20,11 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictStr
|
|
21
21
|
from typing import List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
|
|
24
24
|
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
25
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
26
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
27
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class PypiLegacyApi:
|
|
@@ -20,11 +20,11 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictStr
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.package_metadata_response import PackageMetadataResponse
|
|
24
24
|
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
25
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
26
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
27
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class PypiMetadataApi:
|
|
@@ -20,11 +20,11 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictStr
|
|
21
21
|
from typing import List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
|
|
24
24
|
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
25
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
26
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
27
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class PypiSimpleApi:
|
|
@@ -21,23 +21,23 @@ from datetime import datetime
|
|
|
21
21
|
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr, field_validator
|
|
22
22
|
from typing import Any, List, Optional, Tuple, Union
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
28
|
-
from
|
|
29
|
-
from
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
from
|
|
33
|
-
from
|
|
34
|
-
from
|
|
35
|
-
from
|
|
36
|
-
from
|
|
37
|
-
|
|
38
|
-
from
|
|
39
|
-
from
|
|
40
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
25
|
+
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
26
|
+
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
27
|
+
from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
|
|
28
|
+
from pulpcore.client.pulp_python.models.object_roles_response import ObjectRolesResponse
|
|
29
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_list import PaginatedpythonPythonRemoteResponseList
|
|
30
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_remote import PatchedpythonPythonRemote
|
|
31
|
+
from pulpcore.client.pulp_python.models.python_python_remote import PythonPythonRemote
|
|
32
|
+
from pulpcore.client.pulp_python.models.python_python_remote_response import PythonPythonRemoteResponse
|
|
33
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
34
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
35
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
36
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
37
|
+
|
|
38
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
39
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
40
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
class RemotesPythonApi:
|
|
@@ -20,25 +20,25 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
-
from
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
28
|
-
from
|
|
29
|
-
from
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
from
|
|
33
|
-
from
|
|
34
|
-
from
|
|
35
|
-
from
|
|
36
|
-
from
|
|
37
|
-
from
|
|
38
|
-
|
|
39
|
-
from
|
|
40
|
-
from
|
|
41
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
24
|
+
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
25
|
+
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
26
|
+
from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
|
|
27
|
+
from pulpcore.client.pulp_python.models.object_roles_response import ObjectRolesResponse
|
|
28
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_repository_response_list import PaginatedpythonPythonRepositoryResponseList
|
|
29
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_repository import PatchedpythonPythonRepository
|
|
30
|
+
from pulpcore.client.pulp_python.models.python_python_repository import PythonPythonRepository
|
|
31
|
+
from pulpcore.client.pulp_python.models.python_python_repository_response import PythonPythonRepositoryResponse
|
|
32
|
+
from pulpcore.client.pulp_python.models.repository_add_remove_content import RepositoryAddRemoveContent
|
|
33
|
+
from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyncURL
|
|
34
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
35
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
36
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
37
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
38
|
+
|
|
39
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
40
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
41
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
class RepositoriesPythonApi:
|
{crc-pulp_python-client → pulpcore/client/pulp_python}/api/repositories_python_versions_api.py
RENAMED
|
@@ -21,14 +21,14 @@ from datetime import datetime
|
|
|
21
21
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
22
22
|
from typing import List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
28
|
-
|
|
29
|
-
from
|
|
30
|
-
from
|
|
31
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
25
|
+
from pulpcore.client.pulp_python.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
|
26
|
+
from pulpcore.client.pulp_python.models.repair import Repair
|
|
27
|
+
from pulpcore.client.pulp_python.models.repository_version_response import RepositoryVersionResponse
|
|
28
|
+
|
|
29
|
+
from pulpcore.client.pulp_python.api_client import ApiClient, RequestSerialized
|
|
30
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse
|
|
31
|
+
from pulpcore.client.pulp_python.rest import RESTResponseType
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class RepositoriesPythonVersionsApi:
|
|
@@ -27,11 +27,11 @@ from urllib.parse import quote
|
|
|
27
27
|
from typing import Tuple, Optional, List, Dict, Union
|
|
28
28
|
from pydantic import SecretStr
|
|
29
29
|
|
|
30
|
-
from
|
|
31
|
-
from
|
|
32
|
-
import
|
|
33
|
-
from
|
|
34
|
-
from
|
|
30
|
+
from pulpcore.client.pulp_python.configuration import Configuration
|
|
31
|
+
from pulpcore.client.pulp_python.api_response import ApiResponse, T as ApiResponseT
|
|
32
|
+
import pulpcore.client.pulp_python.models
|
|
33
|
+
from pulpcore.client.pulp_python import rest
|
|
34
|
+
from pulpcore.client.pulp_python.exceptions import (
|
|
35
35
|
ApiValueError,
|
|
36
36
|
ApiException,
|
|
37
37
|
BadRequestException,
|
|
@@ -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/
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/20250829.1/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -450,7 +450,7 @@ class ApiClient:
|
|
|
450
450
|
if klass in self.NATIVE_TYPES_MAPPING:
|
|
451
451
|
klass = self.NATIVE_TYPES_MAPPING[klass]
|
|
452
452
|
else:
|
|
453
|
-
klass = getattr(
|
|
453
|
+
klass = getattr(pulpcore.client.pulp_python.models, klass)
|
|
454
454
|
|
|
455
455
|
if klass in self.PRIMITIVE_TYPES:
|
|
456
456
|
return self.__deserialize_primitive(data, klass)
|
|
@@ -178,7 +178,7 @@ class Configuration:
|
|
|
178
178
|
|
|
179
179
|
You can programmatically set the cookie:
|
|
180
180
|
|
|
181
|
-
conf =
|
|
181
|
+
conf = pulpcore.client.pulp_python.Configuration(
|
|
182
182
|
api_key={'cookieAuth': 'abc123'}
|
|
183
183
|
api_key_prefix={'cookieAuth': 'JSESSIONID'}
|
|
184
184
|
)
|
|
@@ -196,7 +196,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
196
196
|
|
|
197
197
|
Configure API client with HTTP basic authentication:
|
|
198
198
|
|
|
199
|
-
conf =
|
|
199
|
+
conf = pulpcore.client.pulp_python.Configuration(
|
|
200
200
|
username='the-user',
|
|
201
201
|
password='the-password',
|
|
202
202
|
)
|
|
@@ -225,7 +225,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-otxi0c.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
|
|
229
229
|
"""Default Base url
|
|
230
230
|
"""
|
|
231
231
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -268,7 +268,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
268
268
|
self.logger = {}
|
|
269
269
|
"""Logging Settings
|
|
270
270
|
"""
|
|
271
|
-
self.logger["package_logger"] = logging.getLogger("
|
|
271
|
+
self.logger["package_logger"] = logging.getLogger("pulpcore.client.pulp_python")
|
|
272
272
|
self.logger["urllib3_logger"] = logging.getLogger("urllib3")
|
|
273
273
|
self.logger_format = '%(asctime)s %(levelname)s %(message)s'
|
|
274
274
|
"""Log format
|
|
@@ -557,7 +557,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
557
557
|
"OS: {env}\n"\
|
|
558
558
|
"Python Version: {pyversion}\n"\
|
|
559
559
|
"Version of the API: v3\n"\
|
|
560
|
-
"SDK Package Version:
|
|
560
|
+
"SDK Package Version: 20250829.1".\
|
|
561
561
|
format(env=sys.platform, pyversion=sys.version)
|
|
562
562
|
|
|
563
563
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -567,7 +567,7 @@ conf = crc-pulp_python-client.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-otxi0c.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
"""
|
|
5
|
+
Pulp 3 API
|
|
6
|
+
|
|
7
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
8
|
+
|
|
9
|
+
The version of the OpenAPI document: v3
|
|
10
|
+
Contact: pulp-list@redhat.com
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# import models into model package
|
|
18
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
19
|
+
from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
|
|
20
|
+
from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
|
|
21
|
+
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
22
|
+
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
23
|
+
from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
|
|
24
|
+
from pulpcore.client.pulp_python.models.object_roles_response import ObjectRolesResponse
|
|
25
|
+
from pulpcore.client.pulp_python.models.package_metadata_response import PackageMetadataResponse
|
|
26
|
+
from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
|
|
27
|
+
from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
|
|
28
|
+
from pulpcore.client.pulp_python.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
|
29
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_response_list import PaginatedpythonPythonDistributionResponseList
|
|
30
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_response_list import PaginatedpythonPythonPackageContentResponseList
|
|
31
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_publication_response_list import PaginatedpythonPythonPublicationResponseList
|
|
32
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_list import PaginatedpythonPythonRemoteResponseList
|
|
33
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_repository_response_list import PaginatedpythonPythonRepositoryResponseList
|
|
34
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_distribution import PatchedpythonPythonDistribution
|
|
35
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_remote import PatchedpythonPythonRemote
|
|
36
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_repository import PatchedpythonPythonRepository
|
|
37
|
+
from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
|
|
38
|
+
from pulpcore.client.pulp_python.models.python_python_distribution import PythonPythonDistribution
|
|
39
|
+
from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
|
|
40
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
41
|
+
from pulpcore.client.pulp_python.models.python_python_publication import PythonPythonPublication
|
|
42
|
+
from pulpcore.client.pulp_python.models.python_python_publication_response import PythonPythonPublicationResponse
|
|
43
|
+
from pulpcore.client.pulp_python.models.python_python_remote import PythonPythonRemote
|
|
44
|
+
from pulpcore.client.pulp_python.models.python_python_remote_response import PythonPythonRemoteResponse
|
|
45
|
+
from pulpcore.client.pulp_python.models.python_python_remote_response_hidden_fields_inner import PythonPythonRemoteResponseHiddenFieldsInner
|
|
46
|
+
from pulpcore.client.pulp_python.models.python_python_repository import PythonPythonRepository
|
|
47
|
+
from pulpcore.client.pulp_python.models.python_python_repository_response import PythonPythonRepositoryResponse
|
|
48
|
+
from pulpcore.client.pulp_python.models.repair import Repair
|
|
49
|
+
from pulpcore.client.pulp_python.models.repository_add_remove_content import RepositoryAddRemoveContent
|
|
50
|
+
from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyncURL
|
|
51
|
+
from pulpcore.client.pulp_python.models.repository_version_response import RepositoryVersionResponse
|
|
52
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
53
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
54
|
+
from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
|
|
55
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
56
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.repository_version_response import RepositoryVersionResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.python_python_publication_response import PythonPythonPublicationResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.python_python_remote_response import PythonPythonRemoteResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.models.python_python_repository_response import PythonPythonRepositoryResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
{crc-pulp_python-client → pulpcore/client/pulp_python}/models/patchedpython_python_remote.py
RENAMED
|
@@ -21,9 +21,9 @@ import json
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
|
|
25
|
+
from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
|
|
26
|
+
from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
|
|
27
27
|
from typing import Optional, Set
|
|
28
28
|
from typing_extensions import Self
|
|
29
29
|
|
|
@@ -58,7 +58,7 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
58
58
|
requires_external: Optional[Any] = None
|
|
59
59
|
requires_dist: Optional[Any] = None
|
|
60
60
|
requires_python: Optional[StrictStr] = Field(default=None, description="The Python version(s) that the distribution is guaranteed to be compatible with.")
|
|
61
|
-
description_content_type: Optional[StrictStr] = Field(default=None, description="A string stating the markup syntax (if any) used in the distribution
|
|
61
|
+
description_content_type: Optional[StrictStr] = Field(default=None, description="A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description.")
|
|
62
62
|
provides_extras: Optional[Any] = None
|
|
63
63
|
dynamic: Optional[Any] = None
|
|
64
64
|
license_expression: Optional[StrictStr] = Field(default=None, description="Text string that is a valid SPDX license expression.")
|
|
@@ -21,9 +21,9 @@ import json
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
-
from
|
|
25
|
-
from
|
|
26
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
|
|
25
|
+
from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
|
|
26
|
+
from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
|
|
27
27
|
from typing import Optional, Set
|
|
28
28
|
from typing_extensions import Self
|
|
29
29
|
|
{crc-pulp_python-client → pulpcore/client/pulp_python}/models/python_python_remote_response.py
RENAMED
|
@@ -22,10 +22,10 @@ from datetime import datetime
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
23
23
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
24
24
|
from typing_extensions import Annotated
|
|
25
|
-
from
|
|
26
|
-
from
|
|
27
|
-
from
|
|
28
|
-
from
|
|
25
|
+
from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
|
|
26
|
+
from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
|
|
27
|
+
from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
|
|
28
|
+
from pulpcore.client.pulp_python.models.python_python_remote_response_hidden_fields_inner import PythonPythonRemoteResponseHiddenFieldsInner
|
|
29
29
|
from typing import Optional, Set
|
|
30
30
|
from typing_extensions import Self
|
|
31
31
|
|
{crc-pulp_python-client → pulpcore/client/pulp_python}/models/repository_version_response.py
RENAMED
|
@@ -21,7 +21,7 @@ import json
|
|
|
21
21
|
from datetime import datetime
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
23
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
27
27
|
|
|
@@ -20,7 +20,7 @@ import ssl
|
|
|
20
20
|
|
|
21
21
|
import urllib3
|
|
22
22
|
|
|
23
|
-
from
|
|
23
|
+
from pulpcore.client.pulp_python.exceptions import ApiException, ApiValueError
|
|
24
24
|
|
|
25
25
|
SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"}
|
|
26
26
|
RESTResponseType = urllib3.HTTPResponse
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# flake8: noqa
|
|
2
|
-
|
|
3
|
-
# import apis into api package
|
|
4
|
-
from crc-pulp_python-client.api.content_packages_api import ContentPackagesApi
|
|
5
|
-
from crc-pulp_python-client.api.distributions_pypi_api import DistributionsPypiApi
|
|
6
|
-
from crc-pulp_python-client.api.publications_pypi_api import PublicationsPypiApi
|
|
7
|
-
from crc-pulp_python-client.api.pypi_api import PypiApi
|
|
8
|
-
from crc-pulp_python-client.api.pypi_legacy_api import PypiLegacyApi
|
|
9
|
-
from crc-pulp_python-client.api.pypi_metadata_api import PypiMetadataApi
|
|
10
|
-
from crc-pulp_python-client.api.pypi_simple_api import PypiSimpleApi
|
|
11
|
-
from crc-pulp_python-client.api.remotes_python_api import RemotesPythonApi
|
|
12
|
-
from crc-pulp_python-client.api.repositories_python_api import RepositoriesPythonApi
|
|
13
|
-
from crc-pulp_python-client.api.repositories_python_versions_api import RepositoriesPythonVersionsApi
|
|
14
|
-
|