pulp-python-client 3.12.1__py3-none-any.whl → 3.12.3__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-python-client
3
- Version: 3.12.1
3
+ Version: 3.12.3
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -8,8 +8,8 @@ Author-email: pulp-list@redhat.com
8
8
  License: GPLv2+
9
9
  Keywords: pulp,pulpcore,client,Pulp 3 API
10
10
  Requires-Python: >=3.4
11
- Requires-Dist: urllib3 >=1.15
12
- Requires-Dist: six >=1.10
11
+ Requires-Dist: urllib3>=1.15
12
+ Requires-Dist: six>=1.10
13
13
  Requires-Dist: certifi
14
14
  Requires-Dist: python-dateutil
15
15
 
@@ -1,12 +1,12 @@
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=jk0LDmmfDwveOLa7k9QbzN046otXQ62F_4RZ6I7R67c,5892
4
- pulpcore/client/pulp_python/api_client.py,sha256=BNy00iPG7gOu0_FPlrXU1kRe5q2Osf9OcxUXLa4cdNs,26290
5
- pulpcore/client/pulp_python/configuration.py,sha256=epC_3GoeFYYKI30PtqQl-7PzAbB-cror26ZWWVgzM-s,13968
3
+ pulpcore/client/pulp_python/__init__.py,sha256=e9NdagbID3l-wu5gjxfKriyN6sMT9mr7Ic7AABoPaXY,5892
4
+ pulpcore/client/pulp_python/api_client.py,sha256=Qg4S7oPWfaglfZNuIfdZxT0HIPyRQoBFClrL16Y5qoM,26290
5
+ pulpcore/client/pulp_python/configuration.py,sha256=bt6MOiFP1fVeLzfs-mq2jYCPHkqbDqotZ7dfK0U3zUM,13990
6
6
  pulpcore/client/pulp_python/exceptions.py,sha256=4P8pBnEQ5hqaudJJMdmM57YfxTTRFcvkQ86GsvtKNEs,3769
7
7
  pulpcore/client/pulp_python/rest.py,sha256=LT9W8ZNtZbFDfYEEqBWcQ70vp8XfJLiN2TtKyozgk4U,12314
8
8
  pulpcore/client/pulp_python/api/__init__.py,sha256=Kevd065wwgBI2gr_HXjcVAcTSqLHvBS_VAYlQkbNAYU,909
9
- pulpcore/client/pulp_python/api/content_packages_api.py,sha256=auS-1XYfdH6Z2vnmA2SQFpB-dYcfXfw1yFGLX5OdNyU,49196
9
+ pulpcore/client/pulp_python/api/content_packages_api.py,sha256=h8OuxOb9Q7V7AqXZ_mEqNpXWDbWrTPO9vbiAeBVxGqk,49901
10
10
  pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=ku5IVq-_VZp9RpVvgvhXxdbfuy0vP4RK5VmxRIcM3Vk,85968
11
11
  pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=ujpYm4s4OhUjlb0lzt9LZPnjYI-R6aXoqH1ychlJJG8,56271
12
12
  pulpcore/client/pulp_python/api/pypi_api.py,sha256=ce97kpSZBhTIKsQx0_k3AgA17f7QAkJ3pqoG-Y_dH-o,6640
@@ -35,18 +35,18 @@ pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_l
35
35
  pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py,sha256=PrIFucl1vzjajOL_hvfEGDQHR4DUjsTYNF18hkxm1Ok,6013
36
36
  pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py,sha256=lQ_VSabGgUfTl7Z5kTdGV1sgKSPTLBI5r8whjBB6B0s,6105
37
37
  pulpcore/client/pulp_python/models/patchedpython_python_distribution.py,sha256=14hsCKjn6gvvUz20b_sW7Z8rxpVIBbKb0K3dabLmWt4,11314
38
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=xQ0lnzjHajhglcLWUNNmJkK6lNqOVe0TGi3A2EIFT8o,34026
38
+ pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=lqLlWoMfWQd1X4gFEOuOxVfpJ3q8hspz18TqBeOMW9g,34010
39
39
  pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=laidxfBKqEm2-LNTm7YsMl8_JMrAgiOmT21pXIW2ujw,8968
40
40
  pulpcore/client/pulp_python/models/policy_enum.py,sha256=73sYQjy3uC2cxirdImyK1VIZtivP3ZdoGjVwzlXP9vc,2862
41
41
  pulpcore/client/pulp_python/models/python_bander_remote.py,sha256=MeYhjtFxH7ffQpv7c0_y99yofNlrNHYna_wzjJui2Mg,6771
42
42
  pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=xYjloBXTKGhXyvxh83zPkjzZb7paFEuccE9hSJyFrhQ,11347
43
- pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=N5Wkha0tt3sBO11rUx3FOQ1qVl1aY6tI_tVSmj5nCPU,14964
44
- pulpcore/client/pulp_python/models/python_python_package_content.py,sha256=kAwd-5h4-kkhVtMdf_lQDZcQCXgISbxhdku6PCNfc5U,29642
43
+ pulpcore/client/pulp_python/models/python_python_distribution_response.py,sha256=-61C6NE3lIEXyeJKgMbYX_PJUP_dk0Lsg6Y1LbfWFII,16363
44
+ pulpcore/client/pulp_python/models/python_python_package_content.py,sha256=5wr0-FGzi8as0pSVBYHIoqfBxSONPuBQUMdI5VL5paA,30771
45
45
  pulpcore/client/pulp_python/models/python_python_package_content_response.py,sha256=AQ2_T51m7lFXvqEqj9MaO1GI_jHGHbg3p5SkAAoVl6w,33939
46
46
  pulpcore/client/pulp_python/models/python_python_publication.py,sha256=WTrDUV3q7pTf-cI7LTTrv_OQz0xuqAqSHVc8fTbnzb4,4488
47
47
  pulpcore/client/pulp_python/models/python_python_publication_response.py,sha256=46zUsGER5G8tgBxQ83RIEDT__-7kGJ_stdYhcq6xC8I,8680
48
- pulpcore/client/pulp_python/models/python_python_remote.py,sha256=5PxRjJiPtuMHsvzwv1IkVHm3T78ftQSnY3rpdEearF0,33549
49
- pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=xuMX7T6Zhce4vBHZbkPUitHqDXbKK3K5XbJkIHaFYPM,31026
48
+ pulpcore/client/pulp_python/models/python_python_remote.py,sha256=_gPevP9XgllZ-lHLfUpcyFQwfRfHsHXRCpBF8qTsoxA,33533
49
+ pulpcore/client/pulp_python/models/python_python_remote_response.py,sha256=Ts8j6-NKJoVchOM1feOVkBwbU1tgMm59f0VtRdBFeqA,31010
50
50
  pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields.py,sha256=FMQnJB2ReyO6XAUzui-KVDsXvh5-k_Xu5mVLfpPXmfM,4495
51
51
  pulpcore/client/pulp_python/models/python_python_repository.py,sha256=OleE3896uKYswXkzmuNdXVQwr9f-oqNyp6YsrDC6vmo,8926
52
52
  pulpcore/client/pulp_python/models/python_python_repository_response.py,sha256=2Ps5Lyk6QOHH1lnJIhuW_7_tLio_NjJ9xV1BAX7SqcI,13458
@@ -59,7 +59,7 @@ pulpcore/client/pulp_python/models/set_label_response.py,sha256=n0PkgGraiIISAl2U
59
59
  pulpcore/client/pulp_python/models/summary_response.py,sha256=tnsbMSIsJ7Wn3TxKOFYPNgwutne1jy6Vx-aaOZejiRA,5498
60
60
  pulpcore/client/pulp_python/models/unset_label.py,sha256=jOchl5kHsTLqXAI6TSlm3qydKvjrMLusScLEEybe-8A,3896
61
61
  pulpcore/client/pulp_python/models/unset_label_response.py,sha256=zz9WS1LOXfadx_kZ3MEhQE0ipzN_6zSvVLIRHt3Yn1g,4346
62
- pulp_python_client-3.12.1.dist-info/METADATA,sha256=vkfFH-YePP8VfmlQAtpLP5ncEG7UCNtM2w2tMykVbTo,421
63
- pulp_python_client-3.12.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
64
- pulp_python_client-3.12.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
65
- pulp_python_client-3.12.1.dist-info/RECORD,,
62
+ pulp_python_client-3.12.3.dist-info/METADATA,sha256=ri44zQz45TKnYypp97WlGs4kr9Z6y8n714xM8SyXfS4,419
63
+ pulp_python_client-3.12.3.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
64
+ pulp_python_client-3.12.3.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
65
+ pulp_python_client-3.12.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -15,7 +15,7 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "3.12.1"
18
+ __version__ = "3.12.3"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pulpcore.client.pulp_python.api.content_packages_api import ContentPackagesApi
@@ -52,6 +52,7 @@ class ContentPackagesApi(object):
52
52
  :param str artifact: Artifact file representing the physical content
53
53
  :param file file: An uploaded file that may be turned into the content unit.
54
54
  :param str upload: An uncommitted upload that may be turned into the content unit.
55
+ :param str file_url: A url that Pulp can download and turn into the content unit.
55
56
  :param str sha256: The SHA256 digest of this package.
56
57
  :param str summary: A one-line summary of what the package does.
57
58
  :param str description: A longer description of the package that can run to several paragraphs.
@@ -103,6 +104,7 @@ class ContentPackagesApi(object):
103
104
  :param str artifact: Artifact file representing the physical content
104
105
  :param file file: An uploaded file that may be turned into the content unit.
105
106
  :param str upload: An uncommitted upload that may be turned into the content unit.
107
+ :param str file_url: A url that Pulp can download and turn into the content unit.
106
108
  :param str sha256: The SHA256 digest of this package.
107
109
  :param str summary: A one-line summary of what the package does.
108
110
  :param str description: A longer description of the package that can run to several paragraphs.
@@ -147,6 +149,7 @@ class ContentPackagesApi(object):
147
149
  'artifact',
148
150
  'file',
149
151
  'upload',
152
+ 'file_url',
150
153
  'sha256',
151
154
  'summary',
152
155
  'description',
@@ -195,6 +198,9 @@ class ContentPackagesApi(object):
195
198
  if self.api_client.client_side_validation and ('relative_path' in local_var_params and # noqa: E501
196
199
  len(local_var_params['relative_path']) < 1): # noqa: E501
197
200
  raise ApiValueError("Invalid value for parameter `relative_path` when calling `create`, length must be greater than or equal to `1`") # noqa: E501
201
+ if self.api_client.client_side_validation and ('file_url' in local_var_params and # noqa: E501
202
+ len(local_var_params['file_url']) < 1): # noqa: E501
203
+ raise ApiValueError("Invalid value for parameter `file_url` when calling `create`, length must be greater than or equal to `1`") # noqa: E501
198
204
  if self.api_client.client_side_validation and ('sha256' in local_var_params and # noqa: E501
199
205
  len(local_var_params['sha256']) < 1): # noqa: E501
200
206
  raise ApiValueError("Invalid value for parameter `sha256` when calling `create`, length must be greater than or equal to `1`") # noqa: E501
@@ -218,6 +224,8 @@ class ContentPackagesApi(object):
218
224
  local_var_files['file'] = local_var_params['file'] # noqa: E501
219
225
  if 'upload' in local_var_params:
220
226
  form_params.append(('upload', local_var_params['upload'])) # noqa: E501
227
+ if 'file_url' in local_var_params:
228
+ form_params.append(('file_url', local_var_params['file_url'])) # noqa: E501
221
229
  if 'sha256' in local_var_params:
222
230
  form_params.append(('sha256', local_var_params['sha256'])) # noqa: E501
223
231
  if 'summary' in local_var_params:
@@ -79,7 +79,7 @@ class ApiClient(object):
79
79
  self.default_headers[header_name] = header_value
80
80
  self.cookie = cookie
81
81
  # Set default User-Agent.
82
- self.user_agent = 'OpenAPI-Generator/3.12.1/python'
82
+ self.user_agent = 'OpenAPI-Generator/3.12.3/python'
83
83
  self.client_side_validation = configuration.client_side_validation
84
84
 
85
85
  def __enter__(self):
@@ -91,7 +91,7 @@ conf = pulpcore.client.pulp_python.Configuration(
91
91
 
92
92
  _default = None
93
93
 
94
- def __init__(self, host="http://pulp",
94
+ def __init__(self, host="http://localhost:24817",
95
95
  api_key=None, api_key_prefix=None,
96
96
  username=None, password=None,
97
97
  discard_unknown_keys=False,
@@ -376,7 +376,7 @@ conf = pulpcore.client.pulp_python.Configuration(
376
376
  "OS: {env}\n"\
377
377
  "Python Version: {pyversion}\n"\
378
378
  "Version of the API: v3\n"\
379
- "SDK Package Version: 3.12.1".\
379
+ "SDK Package Version: 3.12.3".\
380
380
  format(env=sys.platform, pyversion=sys.version)
381
381
 
382
382
  def get_host_settings(self):
@@ -386,7 +386,7 @@ conf = pulpcore.client.pulp_python.Configuration(
386
386
  """
387
387
  return [
388
388
  {
389
- 'url': "http://pulp/",
389
+ 'url': "http://localhost:24817/",
390
390
  'description': "No description provided",
391
391
  }
392
392
  ]
@@ -565,8 +565,8 @@ class PatchedpythonPythonRemote(object):
565
565
  :type: float
566
566
  """
567
567
  if (self.local_vars_configuration.client_side_validation and
568
- total_timeout is not None and total_timeout < 0.0): # noqa: E501
569
- raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
568
+ total_timeout is not None and total_timeout < 0): # noqa: E501
569
+ raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0`") # noqa: E501
570
570
 
571
571
  self._total_timeout = total_timeout
572
572
 
@@ -591,8 +591,8 @@ class PatchedpythonPythonRemote(object):
591
591
  :type: float
592
592
  """
593
593
  if (self.local_vars_configuration.client_side_validation and
594
- connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
595
- raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
594
+ connect_timeout is not None and connect_timeout < 0): # noqa: E501
595
+ raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0`") # noqa: E501
596
596
 
597
597
  self._connect_timeout = connect_timeout
598
598
 
@@ -617,8 +617,8 @@ class PatchedpythonPythonRemote(object):
617
617
  :type: float
618
618
  """
619
619
  if (self.local_vars_configuration.client_side_validation and
620
- sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
621
- raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
620
+ sock_connect_timeout is not None and sock_connect_timeout < 0): # noqa: E501
621
+ raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0`") # noqa: E501
622
622
 
623
623
  self._sock_connect_timeout = sock_connect_timeout
624
624
 
@@ -643,8 +643,8 @@ class PatchedpythonPythonRemote(object):
643
643
  :type: float
644
644
  """
645
645
  if (self.local_vars_configuration.client_side_validation and
646
- sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
647
- raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
646
+ sock_read_timeout is not None and sock_read_timeout < 0): # noqa: E501
647
+ raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0`") # noqa: E501
648
648
 
649
649
  self._sock_read_timeout = sock_read_timeout
650
650
 
@@ -40,6 +40,7 @@ class PythonPythonDistributionResponse(object):
40
40
  'base_path': 'str',
41
41
  'base_url': 'str',
42
42
  'content_guard': 'str',
43
+ 'no_content_change_since': 'str',
43
44
  'hidden': 'bool',
44
45
  'pulp_labels': 'dict(str, str)',
45
46
  'name': 'str',
@@ -56,6 +57,7 @@ class PythonPythonDistributionResponse(object):
56
57
  'base_path': 'base_path',
57
58
  'base_url': 'base_url',
58
59
  'content_guard': 'content_guard',
60
+ 'no_content_change_since': 'no_content_change_since',
59
61
  'hidden': 'hidden',
60
62
  'pulp_labels': 'pulp_labels',
61
63
  'name': 'name',
@@ -65,7 +67,7 @@ class PythonPythonDistributionResponse(object):
65
67
  'remote': 'remote'
66
68
  }
67
69
 
68
- def __init__(self, pulp_href=None, pulp_created=None, pulp_last_updated=None, base_path=None, base_url=None, content_guard=None, hidden=False, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
70
+ def __init__(self, pulp_href=None, pulp_created=None, pulp_last_updated=None, base_path=None, base_url=None, content_guard=None, no_content_change_since=None, hidden=False, pulp_labels=None, name=None, repository=None, publication=None, allow_uploads=True, remote=None, local_vars_configuration=None): # noqa: E501
69
71
  """PythonPythonDistributionResponse - a model defined in OpenAPI""" # noqa: E501
70
72
  if local_vars_configuration is None:
71
73
  local_vars_configuration = Configuration()
@@ -77,6 +79,7 @@ class PythonPythonDistributionResponse(object):
77
79
  self._base_path = None
78
80
  self._base_url = None
79
81
  self._content_guard = None
82
+ self._no_content_change_since = None
80
83
  self._hidden = None
81
84
  self._pulp_labels = None
82
85
  self._name = None
@@ -96,6 +99,8 @@ class PythonPythonDistributionResponse(object):
96
99
  if base_url is not None:
97
100
  self.base_url = base_url
98
101
  self.content_guard = content_guard
102
+ if no_content_change_since is not None:
103
+ self.no_content_change_since = no_content_change_since
99
104
  if hidden is not None:
100
105
  self.hidden = hidden
101
106
  if pulp_labels is not None:
@@ -243,6 +248,29 @@ class PythonPythonDistributionResponse(object):
243
248
 
244
249
  self._content_guard = content_guard
245
250
 
251
+ @property
252
+ def no_content_change_since(self):
253
+ """Gets the no_content_change_since of this PythonPythonDistributionResponse. # noqa: E501
254
+
255
+ Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. # noqa: E501
256
+
257
+ :return: The no_content_change_since of this PythonPythonDistributionResponse. # noqa: E501
258
+ :rtype: str
259
+ """
260
+ return self._no_content_change_since
261
+
262
+ @no_content_change_since.setter
263
+ def no_content_change_since(self, no_content_change_since):
264
+ """Sets the no_content_change_since of this PythonPythonDistributionResponse.
265
+
266
+ Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. # noqa: E501
267
+
268
+ :param no_content_change_since: The no_content_change_since of this PythonPythonDistributionResponse. # noqa: E501
269
+ :type: str
270
+ """
271
+
272
+ self._no_content_change_since = no_content_change_since
273
+
246
274
  @property
247
275
  def hidden(self):
248
276
  """Gets the hidden of this PythonPythonDistributionResponse. # noqa: E501
@@ -39,6 +39,7 @@ class PythonPythonPackageContent(object):
39
39
  'relative_path': 'str',
40
40
  'file': 'file',
41
41
  'upload': 'str',
42
+ 'file_url': 'str',
42
43
  'sha256': 'str',
43
44
  'summary': 'str',
44
45
  'description': 'str',
@@ -69,6 +70,7 @@ class PythonPythonPackageContent(object):
69
70
  'relative_path': 'relative_path',
70
71
  'file': 'file',
71
72
  'upload': 'upload',
73
+ 'file_url': 'file_url',
72
74
  'sha256': 'sha256',
73
75
  'summary': 'summary',
74
76
  'description': 'description',
@@ -93,7 +95,7 @@ class PythonPythonPackageContent(object):
93
95
  'classifiers': 'classifiers'
94
96
  }
95
97
 
96
- def __init__(self, repository=None, artifact=None, relative_path=None, file=None, upload=None, sha256='', summary=None, description=None, description_content_type=None, keywords=None, home_page=None, download_url=None, author=None, author_email=None, maintainer=None, maintainer_email=None, license=None, requires_python=None, project_url=None, project_urls=None, platform=None, supported_platform=None, requires_dist=None, provides_dist=None, obsoletes_dist=None, requires_external=None, classifiers=None, local_vars_configuration=None): # noqa: E501
98
+ def __init__(self, repository=None, artifact=None, relative_path=None, file=None, upload=None, file_url=None, sha256='', summary=None, description=None, description_content_type=None, keywords=None, home_page=None, download_url=None, author=None, author_email=None, maintainer=None, maintainer_email=None, license=None, requires_python=None, project_url=None, project_urls=None, platform=None, supported_platform=None, requires_dist=None, provides_dist=None, obsoletes_dist=None, requires_external=None, classifiers=None, local_vars_configuration=None): # noqa: E501
97
99
  """PythonPythonPackageContent - a model defined in OpenAPI""" # noqa: E501
98
100
  if local_vars_configuration is None:
99
101
  local_vars_configuration = Configuration()
@@ -104,6 +106,7 @@ class PythonPythonPackageContent(object):
104
106
  self._relative_path = None
105
107
  self._file = None
106
108
  self._upload = None
109
+ self._file_url = None
107
110
  self._sha256 = None
108
111
  self._summary = None
109
112
  self._description = None
@@ -137,6 +140,8 @@ class PythonPythonPackageContent(object):
137
140
  self.file = file
138
141
  if upload is not None:
139
142
  self.upload = upload
143
+ if file_url is not None:
144
+ self.file_url = file_url
140
145
  if sha256 is not None:
141
146
  self.sha256 = sha256
142
147
  if summary is not None:
@@ -302,6 +307,32 @@ class PythonPythonPackageContent(object):
302
307
 
303
308
  self._upload = upload
304
309
 
310
+ @property
311
+ def file_url(self):
312
+ """Gets the file_url of this PythonPythonPackageContent. # noqa: E501
313
+
314
+ A url that Pulp can download and turn into the content unit. # noqa: E501
315
+
316
+ :return: The file_url of this PythonPythonPackageContent. # noqa: E501
317
+ :rtype: str
318
+ """
319
+ return self._file_url
320
+
321
+ @file_url.setter
322
+ def file_url(self, file_url):
323
+ """Sets the file_url of this PythonPythonPackageContent.
324
+
325
+ A url that Pulp can download and turn into the content unit. # noqa: E501
326
+
327
+ :param file_url: The file_url of this PythonPythonPackageContent. # noqa: E501
328
+ :type: str
329
+ """
330
+ if (self.local_vars_configuration.client_side_validation and
331
+ file_url is not None and len(file_url) < 1):
332
+ raise ValueError("Invalid value for `file_url`, length must be greater than or equal to `1`") # noqa: E501
333
+
334
+ self._file_url = file_url
335
+
305
336
  @property
306
337
  def sha256(self):
307
338
  """Gets the sha256 of this PythonPythonPackageContent. # noqa: E501
@@ -567,8 +567,8 @@ class PythonPythonRemote(object):
567
567
  :type: float
568
568
  """
569
569
  if (self.local_vars_configuration.client_side_validation and
570
- total_timeout is not None and total_timeout < 0.0): # noqa: E501
571
- raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
570
+ total_timeout is not None and total_timeout < 0): # noqa: E501
571
+ raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0`") # noqa: E501
572
572
 
573
573
  self._total_timeout = total_timeout
574
574
 
@@ -593,8 +593,8 @@ class PythonPythonRemote(object):
593
593
  :type: float
594
594
  """
595
595
  if (self.local_vars_configuration.client_side_validation and
596
- connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
597
- raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
596
+ connect_timeout is not None and connect_timeout < 0): # noqa: E501
597
+ raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0`") # noqa: E501
598
598
 
599
599
  self._connect_timeout = connect_timeout
600
600
 
@@ -619,8 +619,8 @@ class PythonPythonRemote(object):
619
619
  :type: float
620
620
  """
621
621
  if (self.local_vars_configuration.client_side_validation and
622
- sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
623
- raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
622
+ sock_connect_timeout is not None and sock_connect_timeout < 0): # noqa: E501
623
+ raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0`") # noqa: E501
624
624
 
625
625
  self._sock_connect_timeout = sock_connect_timeout
626
626
 
@@ -645,8 +645,8 @@ class PythonPythonRemote(object):
645
645
  :type: float
646
646
  """
647
647
  if (self.local_vars_configuration.client_side_validation and
648
- sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
649
- raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
648
+ sock_read_timeout is not None and sock_read_timeout < 0): # noqa: E501
649
+ raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0`") # noqa: E501
650
650
 
651
651
  self._sock_read_timeout = sock_read_timeout
652
652
 
@@ -489,8 +489,8 @@ class PythonPythonRemoteResponse(object):
489
489
  :type: float
490
490
  """
491
491
  if (self.local_vars_configuration.client_side_validation and
492
- total_timeout is not None and total_timeout < 0.0): # noqa: E501
493
- raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
492
+ total_timeout is not None and total_timeout < 0): # noqa: E501
493
+ raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0`") # noqa: E501
494
494
 
495
495
  self._total_timeout = total_timeout
496
496
 
@@ -515,8 +515,8 @@ class PythonPythonRemoteResponse(object):
515
515
  :type: float
516
516
  """
517
517
  if (self.local_vars_configuration.client_side_validation and
518
- connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
519
- raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
518
+ connect_timeout is not None and connect_timeout < 0): # noqa: E501
519
+ raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0`") # noqa: E501
520
520
 
521
521
  self._connect_timeout = connect_timeout
522
522
 
@@ -541,8 +541,8 @@ class PythonPythonRemoteResponse(object):
541
541
  :type: float
542
542
  """
543
543
  if (self.local_vars_configuration.client_side_validation and
544
- sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
545
- raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
544
+ sock_connect_timeout is not None and sock_connect_timeout < 0): # noqa: E501
545
+ raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0`") # noqa: E501
546
546
 
547
547
  self._sock_connect_timeout = sock_connect_timeout
548
548
 
@@ -567,8 +567,8 @@ class PythonPythonRemoteResponse(object):
567
567
  :type: float
568
568
  """
569
569
  if (self.local_vars_configuration.client_side_validation and
570
- sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
571
- raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
570
+ sock_read_timeout is not None and sock_read_timeout < 0): # noqa: E501
571
+ raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0`") # noqa: E501
572
572
 
573
573
  self._sock_read_timeout = sock_read_timeout
574
574