pulp-python-client 3.14.0__py3-none-any.whl → 3.15.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.
Potentially problematic release.
This version of pulp-python-client might be problematic. Click here for more details.
- {pulp_python_client-3.14.0.dist-info → pulp_python_client-3.15.0.dist-info}/METADATA +1 -1
- {pulp_python_client-3.14.0.dist-info → pulp_python_client-3.15.0.dist-info}/RECORD +8 -8
- pulpcore/client/pulp_python/__init__.py +1 -1
- pulpcore/client/pulp_python/api/repositories_python_api.py +262 -0
- pulpcore/client/pulp_python/api_client.py +1 -1
- pulpcore/client/pulp_python/configuration.py +1 -1
- {pulp_python_client-3.14.0.dist-info → pulp_python_client-3.15.0.dist-info}/WHEEL +0 -0
- {pulp_python_client-3.14.0.dist-info → pulp_python_client-3.15.0.dist-info}/top_level.txt +0 -0
|
@@ -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=
|
|
4
|
-
pulpcore/client/pulp_python/api_client.py,sha256=
|
|
3
|
+
pulpcore/client/pulp_python/__init__.py,sha256=xieQcgVndjClQUBvKBRQmyqMywqKERVANem0ht4KYXI,5786
|
|
4
|
+
pulpcore/client/pulp_python/api_client.py,sha256=KgkgCzxcsMSfkI5f0V1Ax6HGMmB5RClBspBl-x4Z5n4,27531
|
|
5
5
|
pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulp_python/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulp_python/configuration.py,sha256=eTEPXstO43dgFszv4NRxYzKqY1pw0WxwYjCalZVpoLI,19250
|
|
7
7
|
pulpcore/client/pulp_python/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
|
|
8
8
|
pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulp_python/rest.py,sha256=g0lqBpRHpu0epc6G4Rwk-SnApSsrKrqgdrNqwg-LlQE,9410
|
|
@@ -16,7 +16,7 @@ pulpcore/client/pulp_python/api/pypi_legacy_api.py,sha256=UITFJNNmCIKv-5z9t3-cnU
|
|
|
16
16
|
pulpcore/client/pulp_python/api/pypi_metadata_api.py,sha256=cVPe77Gq025eB2C9hg_klrOXacXflEji4xyDCK0_t6Q,13826
|
|
17
17
|
pulpcore/client/pulp_python/api/pypi_simple_api.py,sha256=OrME0OMw2PLIMYGWE2vuBuyVhuqyON6-yeK0NdKOVzE,38772
|
|
18
18
|
pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=D9NcwUbhPAKo8ALCuug633RkLbDDThjiRtlrvss7ZSM,195875
|
|
19
|
-
pulpcore/client/pulp_python/api/repositories_python_api.py,sha256
|
|
19
|
+
pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=HC5HTzx12YECDDHWRybYkwMVzJthm_Ik-wSvwLLyDm4,210227
|
|
20
20
|
pulpcore/client/pulp_python/api/repositories_python_versions_api.py,sha256=4cfsHwm_Vjp2ciIo7igTI0Gb1kzk7HZUPDvdoROjJsE,74063
|
|
21
21
|
pulpcore/client/pulp_python/models/__init__.py,sha256=vVhq0ydtc_OjdnPpmQVfQgqI3TeJ5RF5K9JDxc7bC34,4302
|
|
22
22
|
pulpcore/client/pulp_python/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
|
|
@@ -58,7 +58,7 @@ pulpcore/client/pulp_python/models/set_label_response.py,sha256=nUSYQHAxcJ3ATyUm
|
|
|
58
58
|
pulpcore/client/pulp_python/models/summary_response.py,sha256=mWm8XQn_U5GVTIjuTWDu6E8FslOI00tuJYzUOWnb3ME,2867
|
|
59
59
|
pulpcore/client/pulp_python/models/unset_label.py,sha256=m6s6AFgi5_7fKsjPhcLwz7ZjKXsSd_4F6PS7u5eINO0,2858
|
|
60
60
|
pulpcore/client/pulp_python/models/unset_label_response.py,sha256=-TZohJf66mUqg4qD04k1dNoyAx69bX_VSf-HM9EpqN8,3046
|
|
61
|
-
pulp_python_client-3.
|
|
62
|
-
pulp_python_client-3.
|
|
63
|
-
pulp_python_client-3.
|
|
64
|
-
pulp_python_client-3.
|
|
61
|
+
pulp_python_client-3.15.0.dist-info/METADATA,sha256=m2PN_RH5l1N0pbK4lazfQFoigLpd9vC-U2IECrpq1C0,465
|
|
62
|
+
pulp_python_client-3.15.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
63
|
+
pulp_python_client-3.15.0.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
64
|
+
pulp_python_client-3.15.0.dist-info/RECORD,,
|
|
@@ -3420,6 +3420,268 @@ class RepositoriesPythonApi:
|
|
|
3420
3420
|
|
|
3421
3421
|
|
|
3422
3422
|
|
|
3423
|
+
@validate_call
|
|
3424
|
+
def repair_metadata(
|
|
3425
|
+
self,
|
|
3426
|
+
python_python_repository_href: StrictStr,
|
|
3427
|
+
_request_timeout: Union[
|
|
3428
|
+
None,
|
|
3429
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3430
|
+
Tuple[
|
|
3431
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3432
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3433
|
+
]
|
|
3434
|
+
] = None,
|
|
3435
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3436
|
+
_content_type: Optional[StrictStr] = None,
|
|
3437
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3438
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3439
|
+
) -> AsyncOperationResponse:
|
|
3440
|
+
"""Repair metadata
|
|
3441
|
+
|
|
3442
|
+
Trigger an asynchronous task to repair Python metadata. This task will repair metadata of all packages for the specified `Repository`, without creating a new `RepositoryVersion`.
|
|
3443
|
+
|
|
3444
|
+
:param python_python_repository_href: (required)
|
|
3445
|
+
:type python_python_repository_href: str
|
|
3446
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3447
|
+
number provided, it will be total request
|
|
3448
|
+
timeout. It can also be a pair (tuple) of
|
|
3449
|
+
(connection, read) timeouts.
|
|
3450
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3451
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3452
|
+
request; this effectively ignores the
|
|
3453
|
+
authentication in the spec for a single request.
|
|
3454
|
+
:type _request_auth: dict, optional
|
|
3455
|
+
:param _content_type: force content-type for the request.
|
|
3456
|
+
:type _content_type: str, Optional
|
|
3457
|
+
:param _headers: set to override the headers for a single
|
|
3458
|
+
request; this effectively ignores the headers
|
|
3459
|
+
in the spec for a single request.
|
|
3460
|
+
:type _headers: dict, optional
|
|
3461
|
+
:param _host_index: set to override the host_index for a single
|
|
3462
|
+
request; this effectively ignores the host_index
|
|
3463
|
+
in the spec for a single request.
|
|
3464
|
+
:type _host_index: int, optional
|
|
3465
|
+
:return: Returns the result object.
|
|
3466
|
+
""" # noqa: E501
|
|
3467
|
+
|
|
3468
|
+
_param = self._repair_metadata_serialize(
|
|
3469
|
+
python_python_repository_href=python_python_repository_href,
|
|
3470
|
+
_request_auth=_request_auth,
|
|
3471
|
+
_content_type=_content_type,
|
|
3472
|
+
_headers=_headers,
|
|
3473
|
+
_host_index=_host_index
|
|
3474
|
+
)
|
|
3475
|
+
|
|
3476
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3477
|
+
'202': "AsyncOperationResponse",
|
|
3478
|
+
}
|
|
3479
|
+
response_data = self.api_client.call_api(
|
|
3480
|
+
*_param,
|
|
3481
|
+
_request_timeout=_request_timeout
|
|
3482
|
+
)
|
|
3483
|
+
response_data.read()
|
|
3484
|
+
return self.api_client.response_deserialize(
|
|
3485
|
+
response_data=response_data,
|
|
3486
|
+
response_types_map=_response_types_map,
|
|
3487
|
+
).data
|
|
3488
|
+
|
|
3489
|
+
|
|
3490
|
+
@validate_call
|
|
3491
|
+
def repair_metadata_with_http_info(
|
|
3492
|
+
self,
|
|
3493
|
+
python_python_repository_href: StrictStr,
|
|
3494
|
+
_request_timeout: Union[
|
|
3495
|
+
None,
|
|
3496
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3497
|
+
Tuple[
|
|
3498
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3499
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3500
|
+
]
|
|
3501
|
+
] = None,
|
|
3502
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3503
|
+
_content_type: Optional[StrictStr] = None,
|
|
3504
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3505
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3506
|
+
) -> ApiResponse[AsyncOperationResponse]:
|
|
3507
|
+
"""Repair metadata
|
|
3508
|
+
|
|
3509
|
+
Trigger an asynchronous task to repair Python metadata. This task will repair metadata of all packages for the specified `Repository`, without creating a new `RepositoryVersion`.
|
|
3510
|
+
|
|
3511
|
+
:param python_python_repository_href: (required)
|
|
3512
|
+
:type python_python_repository_href: str
|
|
3513
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3514
|
+
number provided, it will be total request
|
|
3515
|
+
timeout. It can also be a pair (tuple) of
|
|
3516
|
+
(connection, read) timeouts.
|
|
3517
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3518
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3519
|
+
request; this effectively ignores the
|
|
3520
|
+
authentication in the spec for a single request.
|
|
3521
|
+
:type _request_auth: dict, optional
|
|
3522
|
+
:param _content_type: force content-type for the request.
|
|
3523
|
+
:type _content_type: str, Optional
|
|
3524
|
+
:param _headers: set to override the headers for a single
|
|
3525
|
+
request; this effectively ignores the headers
|
|
3526
|
+
in the spec for a single request.
|
|
3527
|
+
:type _headers: dict, optional
|
|
3528
|
+
:param _host_index: set to override the host_index for a single
|
|
3529
|
+
request; this effectively ignores the host_index
|
|
3530
|
+
in the spec for a single request.
|
|
3531
|
+
:type _host_index: int, optional
|
|
3532
|
+
:return: Returns the result object.
|
|
3533
|
+
""" # noqa: E501
|
|
3534
|
+
|
|
3535
|
+
_param = self._repair_metadata_serialize(
|
|
3536
|
+
python_python_repository_href=python_python_repository_href,
|
|
3537
|
+
_request_auth=_request_auth,
|
|
3538
|
+
_content_type=_content_type,
|
|
3539
|
+
_headers=_headers,
|
|
3540
|
+
_host_index=_host_index
|
|
3541
|
+
)
|
|
3542
|
+
|
|
3543
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3544
|
+
'202': "AsyncOperationResponse",
|
|
3545
|
+
}
|
|
3546
|
+
response_data = self.api_client.call_api(
|
|
3547
|
+
*_param,
|
|
3548
|
+
_request_timeout=_request_timeout
|
|
3549
|
+
)
|
|
3550
|
+
response_data.read()
|
|
3551
|
+
return self.api_client.response_deserialize(
|
|
3552
|
+
response_data=response_data,
|
|
3553
|
+
response_types_map=_response_types_map,
|
|
3554
|
+
)
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
@validate_call
|
|
3558
|
+
def repair_metadata_without_preload_content(
|
|
3559
|
+
self,
|
|
3560
|
+
python_python_repository_href: StrictStr,
|
|
3561
|
+
_request_timeout: Union[
|
|
3562
|
+
None,
|
|
3563
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3564
|
+
Tuple[
|
|
3565
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3566
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3567
|
+
]
|
|
3568
|
+
] = None,
|
|
3569
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3570
|
+
_content_type: Optional[StrictStr] = None,
|
|
3571
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3572
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3573
|
+
) -> RESTResponseType:
|
|
3574
|
+
"""Repair metadata
|
|
3575
|
+
|
|
3576
|
+
Trigger an asynchronous task to repair Python metadata. This task will repair metadata of all packages for the specified `Repository`, without creating a new `RepositoryVersion`.
|
|
3577
|
+
|
|
3578
|
+
:param python_python_repository_href: (required)
|
|
3579
|
+
:type python_python_repository_href: str
|
|
3580
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3581
|
+
number provided, it will be total request
|
|
3582
|
+
timeout. It can also be a pair (tuple) of
|
|
3583
|
+
(connection, read) timeouts.
|
|
3584
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3585
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3586
|
+
request; this effectively ignores the
|
|
3587
|
+
authentication in the spec for a single request.
|
|
3588
|
+
:type _request_auth: dict, optional
|
|
3589
|
+
:param _content_type: force content-type for the request.
|
|
3590
|
+
:type _content_type: str, Optional
|
|
3591
|
+
:param _headers: set to override the headers for a single
|
|
3592
|
+
request; this effectively ignores the headers
|
|
3593
|
+
in the spec for a single request.
|
|
3594
|
+
:type _headers: dict, optional
|
|
3595
|
+
:param _host_index: set to override the host_index for a single
|
|
3596
|
+
request; this effectively ignores the host_index
|
|
3597
|
+
in the spec for a single request.
|
|
3598
|
+
:type _host_index: int, optional
|
|
3599
|
+
:return: Returns the result object.
|
|
3600
|
+
""" # noqa: E501
|
|
3601
|
+
|
|
3602
|
+
_param = self._repair_metadata_serialize(
|
|
3603
|
+
python_python_repository_href=python_python_repository_href,
|
|
3604
|
+
_request_auth=_request_auth,
|
|
3605
|
+
_content_type=_content_type,
|
|
3606
|
+
_headers=_headers,
|
|
3607
|
+
_host_index=_host_index
|
|
3608
|
+
)
|
|
3609
|
+
|
|
3610
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3611
|
+
'202': "AsyncOperationResponse",
|
|
3612
|
+
}
|
|
3613
|
+
response_data = self.api_client.call_api(
|
|
3614
|
+
*_param,
|
|
3615
|
+
_request_timeout=_request_timeout
|
|
3616
|
+
)
|
|
3617
|
+
return response_data.response
|
|
3618
|
+
|
|
3619
|
+
|
|
3620
|
+
def _repair_metadata_serialize(
|
|
3621
|
+
self,
|
|
3622
|
+
python_python_repository_href,
|
|
3623
|
+
_request_auth,
|
|
3624
|
+
_content_type,
|
|
3625
|
+
_headers,
|
|
3626
|
+
_host_index,
|
|
3627
|
+
) -> RequestSerialized:
|
|
3628
|
+
|
|
3629
|
+
_host = None
|
|
3630
|
+
|
|
3631
|
+
_collection_formats: Dict[str, str] = {
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
_path_params: Dict[str, str] = {}
|
|
3635
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3636
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3637
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3638
|
+
_files: Dict[
|
|
3639
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3640
|
+
] = {}
|
|
3641
|
+
_body_params: Optional[bytes] = None
|
|
3642
|
+
|
|
3643
|
+
# process the path parameters
|
|
3644
|
+
if python_python_repository_href is not None:
|
|
3645
|
+
_path_params['python_python_repository_href'] = python_python_repository_href
|
|
3646
|
+
# process the query parameters
|
|
3647
|
+
# process the header parameters
|
|
3648
|
+
# process the form parameters
|
|
3649
|
+
# process the body parameter
|
|
3650
|
+
|
|
3651
|
+
|
|
3652
|
+
# set the HTTP header `Accept`
|
|
3653
|
+
if 'Accept' not in _header_params:
|
|
3654
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3655
|
+
[
|
|
3656
|
+
'application/json'
|
|
3657
|
+
]
|
|
3658
|
+
)
|
|
3659
|
+
|
|
3660
|
+
|
|
3661
|
+
# authentication setting
|
|
3662
|
+
_auth_settings: List[str] = [
|
|
3663
|
+
'basicAuth',
|
|
3664
|
+
'cookieAuth'
|
|
3665
|
+
]
|
|
3666
|
+
|
|
3667
|
+
return self.api_client.param_serialize(
|
|
3668
|
+
method='POST',
|
|
3669
|
+
resource_path='{python_python_repository_href}repair_metadata/',
|
|
3670
|
+
path_params=_path_params,
|
|
3671
|
+
query_params=_query_params,
|
|
3672
|
+
header_params=_header_params,
|
|
3673
|
+
body=_body_params,
|
|
3674
|
+
post_params=_form_params,
|
|
3675
|
+
files=_files,
|
|
3676
|
+
auth_settings=_auth_settings,
|
|
3677
|
+
collection_formats=_collection_formats,
|
|
3678
|
+
_host=_host,
|
|
3679
|
+
_request_auth=_request_auth
|
|
3680
|
+
)
|
|
3681
|
+
|
|
3682
|
+
|
|
3683
|
+
|
|
3684
|
+
|
|
3423
3685
|
@validate_call
|
|
3424
3686
|
def set_label(
|
|
3425
3687
|
self,
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.15.0/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -549,7 +549,7 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
549
549
|
"OS: {env}\n"\
|
|
550
550
|
"Python Version: {pyversion}\n"\
|
|
551
551
|
"Version of the API: v3\n"\
|
|
552
|
-
"SDK Package Version: 3.
|
|
552
|
+
"SDK Package Version: 3.15.0".\
|
|
553
553
|
format(env=sys.platform, pyversion=sys.version)
|
|
554
554
|
|
|
555
555
|
def get_host_settings(self) -> List[HostSetting]:
|
|
File without changes
|
|
File without changes
|