crc-pulp-service-client 20250918.1__py3-none-any.whl → 20250922.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-service-client might be problematic. Click here for more details.

Files changed (20) hide show
  1. {crc_pulp_service_client-20250918.1.dist-info → crc_pulp_service_client-20250922.1.dist-info}/METADATA +1 -1
  2. {crc_pulp_service_client-20250918.1.dist-info → crc_pulp_service_client-20250922.1.dist-info}/RECORD +13 -20
  3. pulpcore/client/pulp_service/__init__.py +1 -8
  4. pulpcore/client/pulp_service/api/__init__.py +0 -1
  5. pulpcore/client/pulp_service/api_client.py +1 -1
  6. pulpcore/client/pulp_service/configuration.py +3 -3
  7. pulpcore/client/pulp_service/models/__init__.py +0 -6
  8. pulpcore/client/pulp_service/models/paginated_task_response_list.py +10 -0
  9. pulpcore/client/pulp_service/models/paginatedservice_feature_content_guard_response_list.py +10 -0
  10. pulpcore/client/pulp_service/models/paginatedservice_vulnerability_report_response_list.py +10 -0
  11. pulpcore/client/pulp_service/models/task_response.py +11 -1
  12. pulpcore/client/pulp_service/api/content_rpmpackages_api.py +0 -1899
  13. pulpcore/client/pulp_service/models/paginatedrpm_package_response_list.py +0 -102
  14. pulpcore/client/pulp_service/models/rpm_package_response.py +0 -309
  15. pulpcore/client/pulp_service/models/set_label.py +0 -103
  16. pulpcore/client/pulp_service/models/set_label_response.py +0 -103
  17. pulpcore/client/pulp_service/models/unset_label.py +0 -96
  18. pulpcore/client/pulp_service/models/unset_label_response.py +0 -100
  19. {crc_pulp_service_client-20250918.1.dist-info → crc_pulp_service_client-20250922.1.dist-info}/WHEEL +0 -0
  20. {crc_pulp_service_client-20250918.1.dist-info → crc_pulp_service_client-20250922.1.dist-info}/top_level.txt +0 -0
@@ -1,96 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- Fetch, Upload, Organize, and Distribute Software Packages
7
-
8
- The version of the OpenAPI document: v3
9
- Contact: pulp-list@redhat.com
10
- Generated by OpenAPI Generator (https://openapi-generator.tech)
11
-
12
- Do not edit the class manually.
13
- """ # noqa: E501
14
-
15
-
16
- from __future__ import annotations
17
- import pprint
18
- import re # noqa: F401
19
- import json
20
-
21
- from pydantic import BaseModel, ConfigDict, Field, field_validator
22
- from typing import Any, ClassVar, Dict, List
23
- from typing_extensions import Annotated
24
- from typing import Optional, Set
25
- from typing_extensions import Self
26
-
27
- class UnsetLabel(BaseModel):
28
- """
29
- Serializer for synchronously UNsetting a label.
30
- """ # noqa: E501
31
- key: Annotated[str, Field(min_length=1, strict=True)]
32
- __properties: ClassVar[List[str]] = ["key"]
33
-
34
- @field_validator('key')
35
- def key_validate_regular_expression(cls, value):
36
- """Validates the regular expression"""
37
- if not re.match(r"^[-a-zA-Z0-9_]+$", value):
38
- raise ValueError(r"must validate the regular expression /^[-a-zA-Z0-9_]+$/")
39
- return value
40
-
41
- model_config = ConfigDict(
42
- populate_by_name=True,
43
- validate_assignment=True,
44
- protected_namespaces=(),
45
- )
46
-
47
-
48
- def to_str(self) -> str:
49
- """Returns the string representation of the model using alias"""
50
- return pprint.pformat(self.model_dump(by_alias=True))
51
-
52
- def to_json(self) -> str:
53
- """Returns the JSON representation of the model using alias"""
54
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
55
- return json.dumps(self.to_dict())
56
-
57
- @classmethod
58
- def from_json(cls, json_str: str) -> Optional[Self]:
59
- """Create an instance of UnsetLabel from a JSON string"""
60
- return cls.from_dict(json.loads(json_str))
61
-
62
- def to_dict(self) -> Dict[str, Any]:
63
- """Return the dictionary representation of the model using alias.
64
-
65
- This has the following differences from calling pydantic's
66
- `self.model_dump(by_alias=True)`:
67
-
68
- * `None` is only added to the output dict for nullable fields that
69
- were set at model initialization. Other fields with value `None`
70
- are ignored.
71
- """
72
- excluded_fields: Set[str] = set([
73
- ])
74
-
75
- _dict = self.model_dump(
76
- by_alias=True,
77
- exclude=excluded_fields,
78
- exclude_none=True,
79
- )
80
- return _dict
81
-
82
- @classmethod
83
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
84
- """Create an instance of UnsetLabel from a dict"""
85
- if obj is None:
86
- return None
87
-
88
- if not isinstance(obj, dict):
89
- return cls.model_validate(obj)
90
-
91
- _obj = cls.model_validate({
92
- "key": obj.get("key")
93
- })
94
- return _obj
95
-
96
-
@@ -1,100 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Pulp 3 API
5
-
6
- Fetch, Upload, Organize, and Distribute Software Packages
7
-
8
- The version of the OpenAPI document: v3
9
- Contact: pulp-list@redhat.com
10
- Generated by OpenAPI Generator (https://openapi-generator.tech)
11
-
12
- Do not edit the class manually.
13
- """ # noqa: E501
14
-
15
-
16
- from __future__ import annotations
17
- import pprint
18
- import re # noqa: F401
19
- import json
20
-
21
- from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
22
- from typing import Any, ClassVar, Dict, List, Optional
23
- from typing_extensions import Annotated
24
- from typing import Optional, Set
25
- from typing_extensions import Self
26
-
27
- class UnsetLabelResponse(BaseModel):
28
- """
29
- Serializer for synchronously UNsetting a label.
30
- """ # noqa: E501
31
- key: Annotated[str, Field(strict=True)]
32
- value: Optional[StrictStr] = None
33
- __properties: ClassVar[List[str]] = ["key", "value"]
34
-
35
- @field_validator('key')
36
- def key_validate_regular_expression(cls, value):
37
- """Validates the regular expression"""
38
- if not re.match(r"^[-a-zA-Z0-9_]+$", value):
39
- raise ValueError(r"must validate the regular expression /^[-a-zA-Z0-9_]+$/")
40
- return value
41
-
42
- model_config = ConfigDict(
43
- populate_by_name=True,
44
- validate_assignment=True,
45
- protected_namespaces=(),
46
- )
47
-
48
-
49
- def to_str(self) -> str:
50
- """Returns the string representation of the model using alias"""
51
- return pprint.pformat(self.model_dump(by_alias=True))
52
-
53
- def to_json(self) -> str:
54
- """Returns the JSON representation of the model using alias"""
55
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
56
- return json.dumps(self.to_dict())
57
-
58
- @classmethod
59
- def from_json(cls, json_str: str) -> Optional[Self]:
60
- """Create an instance of UnsetLabelResponse from a JSON string"""
61
- return cls.from_dict(json.loads(json_str))
62
-
63
- def to_dict(self) -> Dict[str, Any]:
64
- """Return the dictionary representation of the model using alias.
65
-
66
- This has the following differences from calling pydantic's
67
- `self.model_dump(by_alias=True)`:
68
-
69
- * `None` is only added to the output dict for nullable fields that
70
- were set at model initialization. Other fields with value `None`
71
- are ignored.
72
- * OpenAPI `readOnly` fields are excluded.
73
- """
74
- excluded_fields: Set[str] = set([
75
- "value",
76
- ])
77
-
78
- _dict = self.model_dump(
79
- by_alias=True,
80
- exclude=excluded_fields,
81
- exclude_none=True,
82
- )
83
- return _dict
84
-
85
- @classmethod
86
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
87
- """Create an instance of UnsetLabelResponse from a dict"""
88
- if obj is None:
89
- return None
90
-
91
- if not isinstance(obj, dict):
92
- return cls.model_validate(obj)
93
-
94
- _obj = cls.model_validate({
95
- "key": obj.get("key"),
96
- "value": obj.get("value")
97
- })
98
- return _obj
99
-
100
-