crc-pulp-file-client 20250819.1__py3-none-any.whl → 20260113.4__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.
- crc_pulp_file_client-20260113.4.dist-info/METADATA +8160 -0
- crc_pulp_file_client-20260113.4.dist-info/RECORD +62 -0
- crc_pulp_file_client-20260113.4.dist-info/top_level.txt +1 -0
- pulpcore/client/pulp_file/__init__.py +80 -0
- pulpcore/client/pulp_file/api/__init__.py +11 -0
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/acs_file_api.py +30 -24
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/content_files_api.py +394 -10
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/distributions_file_api.py +33 -27
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/publications_file_api.py +12 -12
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/remotes_file_api.py +33 -27
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/repositories_file_api.py +35 -29
- {services-pulp_file-client → pulpcore/client/pulp_file}/api/repositories_file_versions_api.py +8 -8
- {services-pulp_file-client → pulpcore/client/pulp_file}/api_client.py +7 -7
- {crc-pulp_file-client → pulpcore/client/pulp_file}/configuration.py +6 -6
- pulpcore/client/pulp_file/models/__init__.py +57 -0
- services-pulp_file-client/models/file_file_content_response.py → pulpcore/client/pulp_file/models/file_content_upload_response.py +8 -4
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_content_response.py +5 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_remote.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_remote_response.py +2 -2
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/object_roles_response.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginated_repository_version_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginatedfile_file_alternate_content_source_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginatedfile_file_content_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginatedfile_file_distribution_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginatedfile_file_publication_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginatedfile_file_remote_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/paginatedfile_file_repository_response_list.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/patchedfile_file_remote.py +1 -1
- {services-pulp_file-client → pulpcore/client/pulp_file}/models/repository_version_response.py +7 -3
- {services-pulp_file-client → pulpcore/client/pulp_file}/rest.py +1 -1
- crc-pulp_file-client/api/__init__.py +0 -11
- crc-pulp_file-client/api/acs_file_api.py +0 -3689
- crc-pulp_file-client/api/content_files_api.py +0 -2088
- crc-pulp_file-client/api/distributions_file_api.py +0 -4186
- crc-pulp_file-client/api/publications_file_api.py +0 -2881
- crc-pulp_file-client/api/remotes_file_api.py +0 -4214
- crc-pulp_file-client/api/repositories_file_api.py +0 -4856
- crc-pulp_file-client/api/repositories_file_versions_api.py +0 -1670
- crc-pulp_file-client/api_client.py +0 -798
- crc-pulp_file-client/models/__init__.py +0 -56
- crc-pulp_file-client/models/file_file_remote.py +0 -205
- crc-pulp_file-client/models/file_file_remote_response.py +0 -199
- crc-pulp_file-client/models/object_roles_response.py +0 -96
- crc-pulp_file-client/models/paginated_repository_version_response_list.py +0 -112
- crc-pulp_file-client/models/paginatedfile_file_alternate_content_source_response_list.py +0 -112
- crc-pulp_file-client/models/paginatedfile_file_content_response_list.py +0 -112
- crc-pulp_file-client/models/paginatedfile_file_distribution_response_list.py +0 -112
- crc-pulp_file-client/models/paginatedfile_file_publication_response_list.py +0 -112
- crc-pulp_file-client/models/paginatedfile_file_remote_response_list.py +0 -112
- crc-pulp_file-client/models/paginatedfile_file_repository_response_list.py +0 -112
- crc-pulp_file-client/models/patchedfile_file_remote.py +0 -205
- crc-pulp_file-client/models/repository_version_response.py +0 -121
- crc-pulp_file-client/rest.py +0 -258
- crc_pulp_file_client-20250819.1.dist-info/METADATA +0 -25
- crc_pulp_file_client-20250819.1.dist-info/RECORD +0 -114
- crc_pulp_file_client-20250819.1.dist-info/top_level.txt +0 -2
- services-pulp_file-client/api/__init__.py +0 -11
- services-pulp_file-client/api_response.py +0 -21
- services-pulp_file-client/configuration.py +0 -628
- services-pulp_file-client/exceptions.py +0 -200
- services-pulp_file-client/models/__init__.py +0 -56
- services-pulp_file-client/models/async_operation_response.py +0 -88
- services-pulp_file-client/models/content_summary_response.py +0 -92
- services-pulp_file-client/models/file_file_alternate_content_source.py +0 -101
- services-pulp_file-client/models/file_file_alternate_content_source_response.py +0 -116
- services-pulp_file-client/models/file_file_distribution.py +0 -118
- services-pulp_file-client/models/file_file_distribution_response.py +0 -142
- services-pulp_file-client/models/file_file_publication.py +0 -100
- services-pulp_file-client/models/file_file_publication_response.py +0 -120
- services-pulp_file-client/models/file_file_remote_response_hidden_fields_inner.py +0 -90
- services-pulp_file-client/models/file_file_repository.py +0 -121
- services-pulp_file-client/models/file_file_repository_response.py +0 -146
- services-pulp_file-client/models/my_permissions_response.py +0 -88
- services-pulp_file-client/models/nested_role.py +0 -93
- services-pulp_file-client/models/nested_role_response.py +0 -92
- services-pulp_file-client/models/patchedfile_file_alternate_content_source.py +0 -101
- services-pulp_file-client/models/patchedfile_file_distribution.py +0 -118
- services-pulp_file-client/models/patchedfile_file_repository.py +0 -121
- services-pulp_file-client/models/policy_enum.py +0 -39
- services-pulp_file-client/models/repair.py +0 -88
- services-pulp_file-client/models/repository_add_remove_content.py +0 -93
- services-pulp_file-client/models/repository_sync_url.py +0 -90
- services-pulp_file-client/models/set_label.py +0 -103
- services-pulp_file-client/models/set_label_response.py +0 -103
- services-pulp_file-client/models/task_group_operation_response.py +0 -88
- services-pulp_file-client/models/unset_label.py +0 -96
- services-pulp_file-client/models/unset_label_response.py +0 -100
- services-pulp_file-client/py.typed +0 -0
- {crc_pulp_file_client-20250819.1.dist-info → crc_pulp_file_client-20260113.4.dist-info}/WHEEL +0 -0
- {crc-pulp_file-client → pulpcore}/__init__.py +0 -0
- {services-pulp_file-client → pulpcore/client}/__init__.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/api_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/exceptions.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/async_operation_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/content_summary_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_alternate_content_source.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_alternate_content_source_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_distribution.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_distribution_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_publication.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_publication_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_remote_response_hidden_fields_inner.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_repository.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/file_file_repository_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/my_permissions_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/nested_role.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/nested_role_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/patchedfile_file_alternate_content_source.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/patchedfile_file_distribution.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/patchedfile_file_repository.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/policy_enum.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/repair.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/repository_add_remove_content.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/repository_sync_url.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/set_label.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/set_label_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/task_group_operation_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/unset_label.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/models/unset_label_response.py +0 -0
- {crc-pulp_file-client → pulpcore/client/pulp_file}/py.typed +0 -0
|
@@ -21,23 +21,23 @@ 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
|
-
from
|
|
33
|
-
from
|
|
34
|
-
from
|
|
35
|
-
from
|
|
36
|
-
from
|
|
37
|
-
|
|
38
|
-
from
|
|
39
|
-
from
|
|
40
|
-
from
|
|
24
|
+
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
|
|
25
|
+
from pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote
|
|
26
|
+
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse
|
|
27
|
+
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
|
|
28
|
+
from pulpcore.client.pulp_file.models.nested_role import NestedRole
|
|
29
|
+
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
|
|
30
|
+
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
|
|
31
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_remote_response_list import PaginatedfileFileRemoteResponseList
|
|
32
|
+
from pulpcore.client.pulp_file.models.patchedfile_file_remote import PatchedfileFileRemote
|
|
33
|
+
from pulpcore.client.pulp_file.models.set_label import SetLabel
|
|
34
|
+
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
|
|
35
|
+
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
|
|
36
|
+
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
|
|
37
|
+
|
|
38
|
+
from pulpcore.client.pulp_file.api_client import ApiClient, RequestSerialized
|
|
39
|
+
from pulpcore.client.pulp_file.api_response import ApiResponse
|
|
40
|
+
from pulpcore.client.pulp_file.rest import RESTResponseType
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
class RemotesFileApi:
|
|
@@ -2372,10 +2372,10 @@ class RemotesFileApi:
|
|
|
2372
2372
|
_content_type: Optional[StrictStr] = None,
|
|
2373
2373
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2374
2374
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2375
|
-
) ->
|
|
2375
|
+
) -> FileFileRemoteResponse:
|
|
2376
2376
|
"""Update a file remote
|
|
2377
2377
|
|
|
2378
|
-
|
|
2378
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
2379
2379
|
|
|
2380
2380
|
:param file_file_remote_href: (required)
|
|
2381
2381
|
:type file_file_remote_href: str
|
|
@@ -2416,6 +2416,7 @@ class RemotesFileApi:
|
|
|
2416
2416
|
)
|
|
2417
2417
|
|
|
2418
2418
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2419
|
+
'200': "FileFileRemoteResponse",
|
|
2419
2420
|
'202': "AsyncOperationResponse",
|
|
2420
2421
|
}
|
|
2421
2422
|
response_data = self.api_client.call_api(
|
|
@@ -2447,10 +2448,10 @@ class RemotesFileApi:
|
|
|
2447
2448
|
_content_type: Optional[StrictStr] = None,
|
|
2448
2449
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2449
2450
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2450
|
-
) -> ApiResponse[
|
|
2451
|
+
) -> ApiResponse[FileFileRemoteResponse]:
|
|
2451
2452
|
"""Update a file remote
|
|
2452
2453
|
|
|
2453
|
-
|
|
2454
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
2454
2455
|
|
|
2455
2456
|
:param file_file_remote_href: (required)
|
|
2456
2457
|
:type file_file_remote_href: str
|
|
@@ -2491,6 +2492,7 @@ class RemotesFileApi:
|
|
|
2491
2492
|
)
|
|
2492
2493
|
|
|
2493
2494
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2495
|
+
'200': "FileFileRemoteResponse",
|
|
2494
2496
|
'202': "AsyncOperationResponse",
|
|
2495
2497
|
}
|
|
2496
2498
|
response_data = self.api_client.call_api(
|
|
@@ -2525,7 +2527,7 @@ class RemotesFileApi:
|
|
|
2525
2527
|
) -> RESTResponseType:
|
|
2526
2528
|
"""Update a file remote
|
|
2527
2529
|
|
|
2528
|
-
|
|
2530
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
2529
2531
|
|
|
2530
2532
|
:param file_file_remote_href: (required)
|
|
2531
2533
|
:type file_file_remote_href: str
|
|
@@ -2566,6 +2568,7 @@ class RemotesFileApi:
|
|
|
2566
2568
|
)
|
|
2567
2569
|
|
|
2568
2570
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2571
|
+
'200': "FileFileRemoteResponse",
|
|
2569
2572
|
'202': "AsyncOperationResponse",
|
|
2570
2573
|
}
|
|
2571
2574
|
response_data = self.api_client.call_api(
|
|
@@ -3923,10 +3926,10 @@ class RemotesFileApi:
|
|
|
3923
3926
|
_content_type: Optional[StrictStr] = None,
|
|
3924
3927
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3925
3928
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3926
|
-
) ->
|
|
3929
|
+
) -> FileFileRemoteResponse:
|
|
3927
3930
|
"""Update a file remote
|
|
3928
3931
|
|
|
3929
|
-
|
|
3932
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
3930
3933
|
|
|
3931
3934
|
:param file_file_remote_href: (required)
|
|
3932
3935
|
:type file_file_remote_href: str
|
|
@@ -3967,6 +3970,7 @@ class RemotesFileApi:
|
|
|
3967
3970
|
)
|
|
3968
3971
|
|
|
3969
3972
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3973
|
+
'200': "FileFileRemoteResponse",
|
|
3970
3974
|
'202': "AsyncOperationResponse",
|
|
3971
3975
|
}
|
|
3972
3976
|
response_data = self.api_client.call_api(
|
|
@@ -3998,10 +4002,10 @@ class RemotesFileApi:
|
|
|
3998
4002
|
_content_type: Optional[StrictStr] = None,
|
|
3999
4003
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4000
4004
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4001
|
-
) -> ApiResponse[
|
|
4005
|
+
) -> ApiResponse[FileFileRemoteResponse]:
|
|
4002
4006
|
"""Update a file remote
|
|
4003
4007
|
|
|
4004
|
-
|
|
4008
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
4005
4009
|
|
|
4006
4010
|
:param file_file_remote_href: (required)
|
|
4007
4011
|
:type file_file_remote_href: str
|
|
@@ -4042,6 +4046,7 @@ class RemotesFileApi:
|
|
|
4042
4046
|
)
|
|
4043
4047
|
|
|
4044
4048
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4049
|
+
'200': "FileFileRemoteResponse",
|
|
4045
4050
|
'202': "AsyncOperationResponse",
|
|
4046
4051
|
}
|
|
4047
4052
|
response_data = self.api_client.call_api(
|
|
@@ -4076,7 +4081,7 @@ class RemotesFileApi:
|
|
|
4076
4081
|
) -> RESTResponseType:
|
|
4077
4082
|
"""Update a file remote
|
|
4078
4083
|
|
|
4079
|
-
|
|
4084
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
4080
4085
|
|
|
4081
4086
|
:param file_file_remote_href: (required)
|
|
4082
4087
|
:type file_file_remote_href: str
|
|
@@ -4117,6 +4122,7 @@ class RemotesFileApi:
|
|
|
4117
4122
|
)
|
|
4118
4123
|
|
|
4119
4124
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4125
|
+
'200': "FileFileRemoteResponse",
|
|
4120
4126
|
'202': "AsyncOperationResponse",
|
|
4121
4127
|
}
|
|
4122
4128
|
response_data = self.api_client.call_api(
|
|
@@ -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_file.models.async_operation_response import AsyncOperationResponse
|
|
24
|
+
from pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository
|
|
25
|
+
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse
|
|
26
|
+
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
|
|
27
|
+
from pulpcore.client.pulp_file.models.nested_role import NestedRole
|
|
28
|
+
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
|
|
29
|
+
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
|
|
30
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_repository_response_list import PaginatedfileFileRepositoryResponseList
|
|
31
|
+
from pulpcore.client.pulp_file.models.patchedfile_file_repository import PatchedfileFileRepository
|
|
32
|
+
from pulpcore.client.pulp_file.models.repository_add_remove_content import RepositoryAddRemoveContent
|
|
33
|
+
from pulpcore.client.pulp_file.models.repository_sync_url import RepositorySyncURL
|
|
34
|
+
from pulpcore.client.pulp_file.models.set_label import SetLabel
|
|
35
|
+
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
|
|
36
|
+
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
|
|
37
|
+
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
|
|
38
|
+
|
|
39
|
+
from pulpcore.client.pulp_file.api_client import ApiClient, RequestSerialized
|
|
40
|
+
from pulpcore.client.pulp_file.api_response import ApiResponse
|
|
41
|
+
from pulpcore.client.pulp_file.rest import RESTResponseType
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
class RepositoriesFileApi:
|
|
@@ -2705,10 +2705,10 @@ class RepositoriesFileApi:
|
|
|
2705
2705
|
_content_type: Optional[StrictStr] = None,
|
|
2706
2706
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2707
2707
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2708
|
-
) ->
|
|
2708
|
+
) -> FileFileRepositoryResponse:
|
|
2709
2709
|
"""Update a file repository
|
|
2710
2710
|
|
|
2711
|
-
|
|
2711
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
2712
2712
|
|
|
2713
2713
|
:param file_file_repository_href: (required)
|
|
2714
2714
|
:type file_file_repository_href: str
|
|
@@ -2749,6 +2749,7 @@ class RepositoriesFileApi:
|
|
|
2749
2749
|
)
|
|
2750
2750
|
|
|
2751
2751
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2752
|
+
'200': "FileFileRepositoryResponse",
|
|
2752
2753
|
'202': "AsyncOperationResponse",
|
|
2753
2754
|
}
|
|
2754
2755
|
response_data = self.api_client.call_api(
|
|
@@ -2780,10 +2781,10 @@ class RepositoriesFileApi:
|
|
|
2780
2781
|
_content_type: Optional[StrictStr] = None,
|
|
2781
2782
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2782
2783
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2783
|
-
) -> ApiResponse[
|
|
2784
|
+
) -> ApiResponse[FileFileRepositoryResponse]:
|
|
2784
2785
|
"""Update a file repository
|
|
2785
2786
|
|
|
2786
|
-
|
|
2787
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
2787
2788
|
|
|
2788
2789
|
:param file_file_repository_href: (required)
|
|
2789
2790
|
:type file_file_repository_href: str
|
|
@@ -2824,6 +2825,7 @@ class RepositoriesFileApi:
|
|
|
2824
2825
|
)
|
|
2825
2826
|
|
|
2826
2827
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2828
|
+
'200': "FileFileRepositoryResponse",
|
|
2827
2829
|
'202': "AsyncOperationResponse",
|
|
2828
2830
|
}
|
|
2829
2831
|
response_data = self.api_client.call_api(
|
|
@@ -2858,7 +2860,7 @@ class RepositoriesFileApi:
|
|
|
2858
2860
|
) -> RESTResponseType:
|
|
2859
2861
|
"""Update a file repository
|
|
2860
2862
|
|
|
2861
|
-
|
|
2863
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
2862
2864
|
|
|
2863
2865
|
:param file_file_repository_href: (required)
|
|
2864
2866
|
:type file_file_repository_href: str
|
|
@@ -2899,6 +2901,7 @@ class RepositoriesFileApi:
|
|
|
2899
2901
|
)
|
|
2900
2902
|
|
|
2901
2903
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2904
|
+
'200': "FileFileRepositoryResponse",
|
|
2902
2905
|
'202': "AsyncOperationResponse",
|
|
2903
2906
|
}
|
|
2904
2907
|
response_data = self.api_client.call_api(
|
|
@@ -4565,10 +4568,10 @@ class RepositoriesFileApi:
|
|
|
4565
4568
|
_content_type: Optional[StrictStr] = None,
|
|
4566
4569
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4567
4570
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4568
|
-
) ->
|
|
4571
|
+
) -> FileFileRepositoryResponse:
|
|
4569
4572
|
"""Update a file repository
|
|
4570
4573
|
|
|
4571
|
-
|
|
4574
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
4572
4575
|
|
|
4573
4576
|
:param file_file_repository_href: (required)
|
|
4574
4577
|
:type file_file_repository_href: str
|
|
@@ -4609,6 +4612,7 @@ class RepositoriesFileApi:
|
|
|
4609
4612
|
)
|
|
4610
4613
|
|
|
4611
4614
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4615
|
+
'200': "FileFileRepositoryResponse",
|
|
4612
4616
|
'202': "AsyncOperationResponse",
|
|
4613
4617
|
}
|
|
4614
4618
|
response_data = self.api_client.call_api(
|
|
@@ -4640,10 +4644,10 @@ class RepositoriesFileApi:
|
|
|
4640
4644
|
_content_type: Optional[StrictStr] = None,
|
|
4641
4645
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4642
4646
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4643
|
-
) -> ApiResponse[
|
|
4647
|
+
) -> ApiResponse[FileFileRepositoryResponse]:
|
|
4644
4648
|
"""Update a file repository
|
|
4645
4649
|
|
|
4646
|
-
|
|
4650
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
4647
4651
|
|
|
4648
4652
|
:param file_file_repository_href: (required)
|
|
4649
4653
|
:type file_file_repository_href: str
|
|
@@ -4684,6 +4688,7 @@ class RepositoriesFileApi:
|
|
|
4684
4688
|
)
|
|
4685
4689
|
|
|
4686
4690
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4691
|
+
'200': "FileFileRepositoryResponse",
|
|
4687
4692
|
'202': "AsyncOperationResponse",
|
|
4688
4693
|
}
|
|
4689
4694
|
response_data = self.api_client.call_api(
|
|
@@ -4718,7 +4723,7 @@ class RepositoriesFileApi:
|
|
|
4718
4723
|
) -> RESTResponseType:
|
|
4719
4724
|
"""Update a file repository
|
|
4720
4725
|
|
|
4721
|
-
|
|
4726
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
4722
4727
|
|
|
4723
4728
|
:param file_file_repository_href: (required)
|
|
4724
4729
|
:type file_file_repository_href: str
|
|
@@ -4759,6 +4764,7 @@ class RepositoriesFileApi:
|
|
|
4759
4764
|
)
|
|
4760
4765
|
|
|
4761
4766
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4767
|
+
'200': "FileFileRepositoryResponse",
|
|
4762
4768
|
'202': "AsyncOperationResponse",
|
|
4763
4769
|
}
|
|
4764
4770
|
response_data = self.api_client.call_api(
|
{services-pulp_file-client → pulpcore/client/pulp_file}/api/repositories_file_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_file.models.async_operation_response import AsyncOperationResponse
|
|
25
|
+
from pulpcore.client.pulp_file.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
|
26
|
+
from pulpcore.client.pulp_file.models.repair import Repair
|
|
27
|
+
from pulpcore.client.pulp_file.models.repository_version_response import RepositoryVersionResponse
|
|
28
|
+
|
|
29
|
+
from pulpcore.client.pulp_file.api_client import ApiClient, RequestSerialized
|
|
30
|
+
from pulpcore.client.pulp_file.api_response import ApiResponse
|
|
31
|
+
from pulpcore.client.pulp_file.rest import RESTResponseType
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class RepositoriesFileVersionsApi:
|
|
@@ -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_file.configuration import Configuration
|
|
31
|
+
from pulpcore.client.pulp_file.api_response import ApiResponse, T as ApiResponseT
|
|
32
|
+
import pulpcore.client.pulp_file.models
|
|
33
|
+
from pulpcore.client.pulp_file import rest
|
|
34
|
+
from pulpcore.client.pulp_file.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 = '
|
|
94
|
+
self.user_agent = 'crc-pulp-client'
|
|
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_file.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_file.Configuration(
|
|
182
182
|
api_key={'cookieAuth': 'abc123'}
|
|
183
183
|
api_key_prefix={'cookieAuth': 'JSESSIONID'}
|
|
184
184
|
)
|
|
@@ -196,7 +196,7 @@ conf = crc-pulp_file-client.Configuration(
|
|
|
196
196
|
|
|
197
197
|
Configure API client with HTTP basic authentication:
|
|
198
198
|
|
|
199
|
-
conf =
|
|
199
|
+
conf = pulpcore.client.pulp_file.Configuration(
|
|
200
200
|
username='the-user',
|
|
201
201
|
password='the-password',
|
|
202
202
|
)
|
|
@@ -225,7 +225,7 @@ conf = crc-pulp_file-client.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-yq28tr.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_file-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_file")
|
|
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_file-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: 20260113.4".\
|
|
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_file-client.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-yq28tr.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -0,0 +1,57 @@
|
|
|
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_file.models.async_operation_response import AsyncOperationResponse
|
|
19
|
+
from pulpcore.client.pulp_file.models.content_summary_response import ContentSummaryResponse
|
|
20
|
+
from pulpcore.client.pulp_file.models.file_content_upload_response import FileContentUploadResponse
|
|
21
|
+
from pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource
|
|
22
|
+
from pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse
|
|
23
|
+
from pulpcore.client.pulp_file.models.file_file_content_response import FileFileContentResponse
|
|
24
|
+
from pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution
|
|
25
|
+
from pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse
|
|
26
|
+
from pulpcore.client.pulp_file.models.file_file_publication import FileFilePublication
|
|
27
|
+
from pulpcore.client.pulp_file.models.file_file_publication_response import FileFilePublicationResponse
|
|
28
|
+
from pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote
|
|
29
|
+
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse
|
|
30
|
+
from pulpcore.client.pulp_file.models.file_file_remote_response_hidden_fields_inner import FileFileRemoteResponseHiddenFieldsInner
|
|
31
|
+
from pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository
|
|
32
|
+
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse
|
|
33
|
+
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
|
|
34
|
+
from pulpcore.client.pulp_file.models.nested_role import NestedRole
|
|
35
|
+
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
|
|
36
|
+
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
|
|
37
|
+
from pulpcore.client.pulp_file.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
|
38
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_alternate_content_source_response_list import PaginatedfileFileAlternateContentSourceResponseList
|
|
39
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_content_response_list import PaginatedfileFileContentResponseList
|
|
40
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_distribution_response_list import PaginatedfileFileDistributionResponseList
|
|
41
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_publication_response_list import PaginatedfileFilePublicationResponseList
|
|
42
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_remote_response_list import PaginatedfileFileRemoteResponseList
|
|
43
|
+
from pulpcore.client.pulp_file.models.paginatedfile_file_repository_response_list import PaginatedfileFileRepositoryResponseList
|
|
44
|
+
from pulpcore.client.pulp_file.models.patchedfile_file_alternate_content_source import PatchedfileFileAlternateContentSource
|
|
45
|
+
from pulpcore.client.pulp_file.models.patchedfile_file_distribution import PatchedfileFileDistribution
|
|
46
|
+
from pulpcore.client.pulp_file.models.patchedfile_file_remote import PatchedfileFileRemote
|
|
47
|
+
from pulpcore.client.pulp_file.models.patchedfile_file_repository import PatchedfileFileRepository
|
|
48
|
+
from pulpcore.client.pulp_file.models.policy_enum import PolicyEnum
|
|
49
|
+
from pulpcore.client.pulp_file.models.repair import Repair
|
|
50
|
+
from pulpcore.client.pulp_file.models.repository_add_remove_content import RepositoryAddRemoveContent
|
|
51
|
+
from pulpcore.client.pulp_file.models.repository_sync_url import RepositorySyncURL
|
|
52
|
+
from pulpcore.client.pulp_file.models.repository_version_response import RepositoryVersionResponse
|
|
53
|
+
from pulpcore.client.pulp_file.models.set_label import SetLabel
|
|
54
|
+
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
|
|
55
|
+
from pulpcore.client.pulp_file.models.task_group_operation_response import TaskGroupOperationResponse
|
|
56
|
+
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
|
|
57
|
+
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
|
|
@@ -24,7 +24,7 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
class
|
|
27
|
+
class FileContentUploadResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
Serializer for File Content.
|
|
30
30
|
""" # noqa: E501
|
|
@@ -33,6 +33,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
33
33
|
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
34
34
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
|
|
35
35
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
|
|
36
|
+
vuln_report: Optional[StrictStr] = None
|
|
36
37
|
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
37
38
|
relative_path: StrictStr = Field(description="Path where the artifact is located relative to distributions base_path")
|
|
38
39
|
md5: Optional[StrictStr] = Field(default=None, description="The MD5 checksum if available.")
|
|
@@ -41,7 +42,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
41
42
|
sha256: Optional[StrictStr] = Field(default=None, description="The SHA-256 checksum if available.")
|
|
42
43
|
sha384: Optional[StrictStr] = Field(default=None, description="The SHA-384 checksum if available.")
|
|
43
44
|
sha512: Optional[StrictStr] = Field(default=None, description="The SHA-512 checksum if available.")
|
|
44
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "artifact", "relative_path", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "vuln_report", "artifact", "relative_path", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"]
|
|
45
46
|
|
|
46
47
|
model_config = ConfigDict(
|
|
47
48
|
populate_by_name=True,
|
|
@@ -61,7 +62,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
61
62
|
|
|
62
63
|
@classmethod
|
|
63
64
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
64
|
-
"""Create an instance of
|
|
65
|
+
"""Create an instance of FileContentUploadResponse from a JSON string"""
|
|
65
66
|
return cls.from_dict(json.loads(json_str))
|
|
66
67
|
|
|
67
68
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -83,12 +84,14 @@ class FileFileContentResponse(BaseModel):
|
|
|
83
84
|
* OpenAPI `readOnly` fields are excluded.
|
|
84
85
|
* OpenAPI `readOnly` fields are excluded.
|
|
85
86
|
* OpenAPI `readOnly` fields are excluded.
|
|
87
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
86
88
|
"""
|
|
87
89
|
excluded_fields: Set[str] = set([
|
|
88
90
|
"pulp_href",
|
|
89
91
|
"prn",
|
|
90
92
|
"pulp_created",
|
|
91
93
|
"pulp_last_updated",
|
|
94
|
+
"vuln_report",
|
|
92
95
|
"md5",
|
|
93
96
|
"sha1",
|
|
94
97
|
"sha224",
|
|
@@ -106,7 +109,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
106
109
|
|
|
107
110
|
@classmethod
|
|
108
111
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
109
|
-
"""Create an instance of
|
|
112
|
+
"""Create an instance of FileContentUploadResponse from a dict"""
|
|
110
113
|
if obj is None:
|
|
111
114
|
return None
|
|
112
115
|
|
|
@@ -119,6 +122,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
119
122
|
"pulp_created": obj.get("pulp_created"),
|
|
120
123
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
121
124
|
"pulp_labels": obj.get("pulp_labels"),
|
|
125
|
+
"vuln_report": obj.get("vuln_report"),
|
|
122
126
|
"artifact": obj.get("artifact"),
|
|
123
127
|
"relative_path": obj.get("relative_path"),
|
|
124
128
|
"md5": obj.get("md5"),
|
|
@@ -33,6 +33,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
33
33
|
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
34
34
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
|
|
35
35
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
|
|
36
|
+
vuln_report: Optional[StrictStr] = None
|
|
36
37
|
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
37
38
|
relative_path: StrictStr = Field(description="Path where the artifact is located relative to distributions base_path")
|
|
38
39
|
md5: Optional[StrictStr] = Field(default=None, description="The MD5 checksum if available.")
|
|
@@ -41,7 +42,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
41
42
|
sha256: Optional[StrictStr] = Field(default=None, description="The SHA-256 checksum if available.")
|
|
42
43
|
sha384: Optional[StrictStr] = Field(default=None, description="The SHA-384 checksum if available.")
|
|
43
44
|
sha512: Optional[StrictStr] = Field(default=None, description="The SHA-512 checksum if available.")
|
|
44
|
-
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "artifact", "relative_path", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "vuln_report", "artifact", "relative_path", "md5", "sha1", "sha224", "sha256", "sha384", "sha512"]
|
|
45
46
|
|
|
46
47
|
model_config = ConfigDict(
|
|
47
48
|
populate_by_name=True,
|
|
@@ -83,12 +84,14 @@ class FileFileContentResponse(BaseModel):
|
|
|
83
84
|
* OpenAPI `readOnly` fields are excluded.
|
|
84
85
|
* OpenAPI `readOnly` fields are excluded.
|
|
85
86
|
* OpenAPI `readOnly` fields are excluded.
|
|
87
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
86
88
|
"""
|
|
87
89
|
excluded_fields: Set[str] = set([
|
|
88
90
|
"pulp_href",
|
|
89
91
|
"prn",
|
|
90
92
|
"pulp_created",
|
|
91
93
|
"pulp_last_updated",
|
|
94
|
+
"vuln_report",
|
|
92
95
|
"md5",
|
|
93
96
|
"sha1",
|
|
94
97
|
"sha224",
|
|
@@ -119,6 +122,7 @@ class FileFileContentResponse(BaseModel):
|
|
|
119
122
|
"pulp_created": obj.get("pulp_created"),
|
|
120
123
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
121
124
|
"pulp_labels": obj.get("pulp_labels"),
|
|
125
|
+
"vuln_report": obj.get("vuln_report"),
|
|
122
126
|
"artifact": obj.get("artifact"),
|
|
123
127
|
"relative_path": obj.get("relative_path"),
|
|
124
128
|
"md5": obj.get("md5"),
|
|
@@ -21,7 +21,7 @@ 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
|
|
24
|
+
from pulpcore.client.pulp_file.models.policy_enum import PolicyEnum
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
27
27
|
|
|
@@ -22,8 +22,8 @@ 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
|
|
25
|
+
from pulpcore.client.pulp_file.models.file_file_remote_response_hidden_fields_inner import FileFileRemoteResponseHiddenFieldsInner
|
|
26
|
+
from pulpcore.client.pulp_file.models.policy_enum import PolicyEnum
|
|
27
27
|
from typing import Optional, Set
|
|
28
28
|
from typing_extensions import Self
|
|
29
29
|
|
|
@@ -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_file.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_file.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_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|