crc-pulp-file-client 20250922.4__tar.gz → 20250923.1__tar.gz

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-file-client might be problematic. Click here for more details.

Files changed (113) hide show
  1. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/PKG-INFO +1 -1
  2. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/README.md +4 -4
  3. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/crc_pulp_file_client.egg-info/PKG-INFO +1 -1
  4. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/__init__.py +1 -1
  5. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api_client.py +1 -1
  6. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/configuration.py +3 -3
  7. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_publication_response.py +0 -2
  8. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_remote.py +1 -1
  9. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_remote_response.py +1 -3
  10. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_repository.py +2 -2
  11. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_repository_response.py +2 -3
  12. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginated_repository_version_response_list.py +0 -10
  13. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginatedfile_file_alternate_content_source_response_list.py +0 -10
  14. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginatedfile_file_content_response_list.py +0 -10
  15. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginatedfile_file_distribution_response_list.py +0 -10
  16. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginatedfile_file_publication_response_list.py +0 -10
  17. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginatedfile_file_remote_response_list.py +0 -10
  18. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/paginatedfile_file_repository_response_list.py +0 -10
  19. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/patchedfile_file_remote.py +1 -1
  20. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/patchedfile_file_repository.py +2 -2
  21. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pyproject.toml +1 -1
  22. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/setup.py +1 -1
  23. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_remote.py +1 -1
  24. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_remote_response.py +1 -1
  25. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_repository.py +1 -1
  26. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_repository_response.py +1 -1
  27. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginatedfile_file_remote_response_list.py +2 -2
  28. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginatedfile_file_repository_response_list.py +2 -2
  29. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_patchedfile_file_remote.py +1 -1
  30. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_patchedfile_file_repository.py +1 -1
  31. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/crc_pulp_file_client.egg-info/SOURCES.txt +0 -0
  32. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/crc_pulp_file_client.egg-info/dependency_links.txt +0 -0
  33. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/crc_pulp_file_client.egg-info/requires.txt +0 -0
  34. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/crc_pulp_file_client.egg-info/top_level.txt +0 -0
  35. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/__init__.py +0 -0
  36. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/__init__.py +0 -0
  37. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/__init__.py +0 -0
  38. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/acs_file_api.py +0 -0
  39. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/content_files_api.py +0 -0
  40. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/distributions_file_api.py +0 -0
  41. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/publications_file_api.py +0 -0
  42. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/remotes_file_api.py +0 -0
  43. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/repositories_file_api.py +0 -0
  44. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api/repositories_file_versions_api.py +0 -0
  45. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/api_response.py +0 -0
  46. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/exceptions.py +0 -0
  47. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/__init__.py +0 -0
  48. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/async_operation_response.py +0 -0
  49. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/content_summary_response.py +0 -0
  50. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_alternate_content_source.py +0 -0
  51. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_alternate_content_source_response.py +0 -0
  52. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_content_response.py +0 -0
  53. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_distribution.py +0 -0
  54. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_distribution_response.py +0 -0
  55. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_publication.py +0 -0
  56. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/file_file_remote_response_hidden_fields_inner.py +0 -0
  57. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/my_permissions_response.py +0 -0
  58. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/nested_role.py +0 -0
  59. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/nested_role_response.py +0 -0
  60. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/object_roles_response.py +0 -0
  61. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/patchedfile_file_alternate_content_source.py +0 -0
  62. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/patchedfile_file_distribution.py +0 -0
  63. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/policy_enum.py +0 -0
  64. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/repair.py +0 -0
  65. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/repository_add_remove_content.py +0 -0
  66. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/repository_sync_url.py +0 -0
  67. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/repository_version_response.py +0 -0
  68. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/set_label.py +0 -0
  69. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/set_label_response.py +0 -0
  70. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/task_group_operation_response.py +0 -0
  71. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/unset_label.py +0 -0
  72. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/models/unset_label_response.py +0 -0
  73. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/py.typed +0 -0
  74. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/pulpcore/client/pulp_file/rest.py +0 -0
  75. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/setup.cfg +0 -0
  76. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_acs_file_api.py +0 -0
  77. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_async_operation_response.py +0 -0
  78. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_content_files_api.py +0 -0
  79. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_content_summary_response.py +0 -0
  80. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_distributions_file_api.py +0 -0
  81. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_alternate_content_source.py +0 -0
  82. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_alternate_content_source_response.py +0 -0
  83. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_content_response.py +0 -0
  84. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_distribution.py +0 -0
  85. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_distribution_response.py +0 -0
  86. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_publication.py +0 -0
  87. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_publication_response.py +0 -0
  88. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_file_file_remote_response_hidden_fields_inner.py +0 -0
  89. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_my_permissions_response.py +0 -0
  90. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_nested_role.py +0 -0
  91. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_nested_role_response.py +0 -0
  92. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_object_roles_response.py +0 -0
  93. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginated_repository_version_response_list.py +0 -0
  94. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginatedfile_file_alternate_content_source_response_list.py +0 -0
  95. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginatedfile_file_content_response_list.py +0 -0
  96. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginatedfile_file_distribution_response_list.py +0 -0
  97. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_paginatedfile_file_publication_response_list.py +0 -0
  98. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_patchedfile_file_alternate_content_source.py +0 -0
  99. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_patchedfile_file_distribution.py +0 -0
  100. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_policy_enum.py +0 -0
  101. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_publications_file_api.py +0 -0
  102. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_remotes_file_api.py +0 -0
  103. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_repair.py +0 -0
  104. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_repositories_file_api.py +0 -0
  105. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_repositories_file_versions_api.py +0 -0
  106. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_repository_add_remove_content.py +0 -0
  107. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_repository_sync_url.py +0 -0
  108. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_repository_version_response.py +0 -0
  109. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_set_label.py +0 -0
  110. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_set_label_response.py +0 -0
  111. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_task_group_operation_response.py +0 -0
  112. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_unset_label.py +0 -0
  113. {crc_pulp_file_client-20250922.4 → crc_pulp_file_client-20250923.1}/test/test_unset_label_response.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crc-pulp_file-client
3
- Version: 20250922.4
3
+ Version: 20250923.1
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -4,7 +4,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
4
4
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: v3
7
- - Package version: 20250922.4
7
+ - Package version: 20250923.1
8
8
  - Generator version: 7.10.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -56,10 +56,10 @@ import pulpcore.client.pulp_file
56
56
  from pulpcore.client.pulp_file.rest import ApiException
57
57
  from pprint import pprint
58
58
 
59
- # Defining the host is optional and defaults to https://env-ephemeral-s693tr.apps.crc-eph.r9lp.p1.openshiftapps.com
59
+ # Defining the host is optional and defaults to https://env-ephemeral-wcykoo.apps.crc-eph.r9lp.p1.openshiftapps.com
60
60
  # See configuration.py for a list of all supported configuration parameters.
61
61
  configuration = pulpcore.client.pulp_file.Configuration(
62
- host = "https://env-ephemeral-s693tr.apps.crc-eph.r9lp.p1.openshiftapps.com"
62
+ host = "https://env-ephemeral-wcykoo.apps.crc-eph.r9lp.p1.openshiftapps.com"
63
63
  )
64
64
 
65
65
  # The client must configure the authentication and authorization parameters
@@ -102,7 +102,7 @@ with pulpcore.client.pulp_file.ApiClient(configuration) as api_client:
102
102
 
103
103
  ## Documentation for API Endpoints
104
104
 
105
- All URIs are relative to *https://env-ephemeral-s693tr.apps.crc-eph.r9lp.p1.openshiftapps.com*
105
+ All URIs are relative to *https://env-ephemeral-wcykoo.apps.crc-eph.r9lp.p1.openshiftapps.com*
106
106
 
107
107
  Class | Method | HTTP request | Description
108
108
  ------------ | ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crc-pulp_file-client
3
- Version: 20250922.4
3
+ Version: 20250923.1
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "20250922.4"
18
+ __version__ = "20250923.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pulpcore.client.pulp_file.api.acs_file_api import AcsFileApi
@@ -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/20250922.4/python'
94
+ self.user_agent = 'OpenAPI-Generator/20250923.1/python'
95
95
  self.client_side_validation = configuration.client_side_validation
96
96
 
97
97
  def __enter__(self):
@@ -225,7 +225,7 @@ conf = pulpcore.client.pulp_file.Configuration(
225
225
  ) -> None:
226
226
  """Constructor
227
227
  """
228
- self._base_path = "https://env-ephemeral-s693tr.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-wcykoo.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
@@ -557,7 +557,7 @@ conf = pulpcore.client.pulp_file.Configuration(
557
557
  "OS: {env}\n"\
558
558
  "Python Version: {pyversion}\n"\
559
559
  "Version of the API: v3\n"\
560
- "SDK Package Version: 20250922.4".\
560
+ "SDK Package Version: 20250923.1".\
561
561
  format(env=sys.platform, pyversion=sys.version)
562
562
 
563
563
  def get_host_settings(self) -> List[HostSetting]:
@@ -567,7 +567,7 @@ conf = pulpcore.client.pulp_file.Configuration(
567
567
  """
568
568
  return [
569
569
  {
570
- 'url': "https://env-ephemeral-s693tr.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-wcykoo.apps.crc-eph.r9lp.p1.openshiftapps.com",
571
571
  'description': "No description provided",
572
572
  }
573
573
  ]
@@ -73,14 +73,12 @@ class FileFilePublicationResponse(BaseModel):
73
73
  * OpenAPI `readOnly` fields are excluded.
74
74
  * OpenAPI `readOnly` fields are excluded.
75
75
  * OpenAPI `readOnly` fields are excluded.
76
- * OpenAPI `readOnly` fields are excluded.
77
76
  """
78
77
  excluded_fields: Set[str] = set([
79
78
  "pulp_href",
80
79
  "prn",
81
80
  "pulp_created",
82
81
  "pulp_last_updated",
83
- "distributions",
84
82
  ])
85
83
 
86
84
  _dict = self.model_dump(
@@ -41,7 +41,7 @@ class FileFileRemote(BaseModel):
41
41
  username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
42
42
  password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
43
43
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
44
- download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
44
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
45
45
  max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
46
46
  policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")
47
47
  total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
@@ -42,7 +42,7 @@ class FileFileRemoteResponse(BaseModel):
42
42
  tls_validation: Optional[StrictBool] = Field(default=None, description="If True, TLS peer validation must be performed.")
43
43
  proxy_url: Optional[StrictStr] = Field(default=None, description="The proxy URL. Format: scheme://host:port")
44
44
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
45
- download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
45
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
46
46
  max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
47
47
  policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")
48
48
  total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
@@ -88,14 +88,12 @@ class FileFileRemoteResponse(BaseModel):
88
88
  * OpenAPI `readOnly` fields are excluded.
89
89
  * OpenAPI `readOnly` fields are excluded.
90
90
  * OpenAPI `readOnly` fields are excluded.
91
- * OpenAPI `readOnly` fields are excluded.
92
91
  """
93
92
  excluded_fields: Set[str] = set([
94
93
  "pulp_href",
95
94
  "prn",
96
95
  "pulp_created",
97
96
  "pulp_last_updated",
98
- "hidden_fields",
99
97
  ])
100
98
 
101
99
  _dict = self.model_dump(
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing_extensions import Annotated
24
24
  from typing import Optional, Set
@@ -31,7 +31,7 @@ class FileFileRepository(BaseModel):
31
31
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
32
32
  name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="A unique name for this repository.")
33
33
  description: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="An optional description.")
34
- retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
34
+ retain_repo_versions: Optional[StrictInt] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
35
35
  remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
36
36
  autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
37
37
  manifest: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
@@ -19,9 +19,8 @@ import re # noqa: F401
19
19
  import json
20
20
 
21
21
  from datetime import datetime
22
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
22
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
23
23
  from typing import Any, ClassVar, Dict, List, Optional
24
- from typing_extensions import Annotated
25
24
  from typing import Optional, Set
26
25
  from typing_extensions import Self
27
26
 
@@ -38,7 +37,7 @@ class FileFileRepositoryResponse(BaseModel):
38
37
  latest_version_href: Optional[StrictStr] = None
39
38
  name: StrictStr = Field(description="A unique name for this repository.")
40
39
  description: Optional[StrictStr] = Field(default=None, description="An optional description.")
41
- retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
40
+ retain_repo_versions: Optional[StrictInt] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
42
41
  remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
43
42
  autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
44
43
  manifest: Optional[StrictStr] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
@@ -80,16 +80,6 @@ class PaginatedRepositoryVersionResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -80,16 +80,6 @@ class PaginatedfileFileAlternateContentSourceResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -80,16 +80,6 @@ class PaginatedfileFileContentResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -80,16 +80,6 @@ class PaginatedfileFileDistributionResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -80,16 +80,6 @@ class PaginatedfileFilePublicationResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -80,16 +80,6 @@ class PaginatedfileFileRemoteResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -80,16 +80,6 @@ class PaginatedfileFileRepositoryResponseList(BaseModel):
80
80
  if _item_results:
81
81
  _items.append(_item_results.to_dict())
82
82
  _dict['results'] = _items
83
- # set to None if next (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.next is None and "next" in self.model_fields_set:
86
- _dict['next'] = None
87
-
88
- # set to None if previous (nullable) is None
89
- # and model_fields_set contains the field
90
- if self.previous is None and "previous" in self.model_fields_set:
91
- _dict['previous'] = None
92
-
93
83
  return _dict
94
84
 
95
85
  @classmethod
@@ -41,7 +41,7 @@ class PatchedfileFileRemote(BaseModel):
41
41
  username: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The username to be used for authentication when syncing.")
42
42
  password: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.")
43
43
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
44
- download_concurrency: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
44
+ download_concurrency: Optional[StrictInt] = Field(default=None, description="Total number of simultaneous connections. If not set then the default value will be used.")
45
45
  max_retries: Optional[StrictInt] = Field(default=None, description="Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.")
46
46
  policy: Optional[PolicyEnum] = Field(default=None, description="The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.")
47
47
  total_timeout: Optional[Union[Annotated[float, Field(strict=True, ge=0.0)], Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, description="aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.")
@@ -18,7 +18,7 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing_extensions import Annotated
24
24
  from typing import Optional, Set
@@ -31,7 +31,7 @@ class PatchedfileFileRepository(BaseModel):
31
31
  pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
32
32
  name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="A unique name for this repository.")
33
33
  description: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="An optional description.")
34
- retain_repo_versions: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
34
+ retain_repo_versions: Optional[StrictInt] = Field(default=None, description="Retain X versions of the repository. Default is null which retains all versions.")
35
35
  remote: Optional[StrictStr] = Field(default=None, description="An optional remote to use by default when syncing.")
36
36
  autopublish: Optional[StrictBool] = Field(default=False, description="Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.")
37
37
  manifest: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default='PULP_MANIFEST', description="Filename to use for manifest file containing metadata for all the files.")
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pulpcore.client.pulp_file"
3
- version = "20250922.4"
3
+ version = "20250923.1"
4
4
  description = "Pulp 3 API"
5
5
  authors = ["Pulp Team <pulp-list@redhat.com>"]
6
6
  license = "GPLv2+"
@@ -22,7 +22,7 @@ from setuptools import setup, find_packages # noqa: H301
22
22
  # prerequisite: setuptools
23
23
  # http://pypi.python.org/pypi/setuptools
24
24
  NAME = "crc-pulp_file-client"
25
- VERSION = "20250922.4"
25
+ VERSION = "20250923.1"
26
26
  PYTHON_REQUIRES = ">= 3.8"
27
27
  REQUIRES = [
28
28
  "urllib3 >= 1.25.3, < 3.0.0",
@@ -50,7 +50,7 @@ class TestFileFileRemote(unittest.TestCase):
50
50
  pulp_labels = {
51
51
  'key' : ''
52
52
  },
53
- download_concurrency = 1,
53
+ download_concurrency = 56,
54
54
  max_retries = 56,
55
55
  policy = 'immediate',
56
56
  total_timeout = 0.0,
@@ -49,7 +49,7 @@ class TestFileFileRemoteResponse(unittest.TestCase):
49
49
  pulp_labels = {
50
50
  'key' : ''
51
51
  },
52
- download_concurrency = 1,
52
+ download_concurrency = 56,
53
53
  max_retries = 56,
54
54
  policy = 'immediate',
55
55
  total_timeout = 0.0,
@@ -41,7 +41,7 @@ class TestFileFileRepository(unittest.TestCase):
41
41
  },
42
42
  name = '0',
43
43
  description = '0',
44
- retain_repo_versions = 1,
44
+ retain_repo_versions = 56,
45
45
  remote = '',
46
46
  autopublish = True,
47
47
  manifest = 'PULP_MANIFEST'
@@ -47,7 +47,7 @@ class TestFileFileRepositoryResponse(unittest.TestCase):
47
47
  latest_version_href = '',
48
48
  name = '',
49
49
  description = '',
50
- retain_repo_versions = 1,
50
+ retain_repo_versions = 56,
51
51
  remote = '',
52
52
  autopublish = True,
53
53
  manifest = 'PULP_MANIFEST'
@@ -54,7 +54,7 @@ class TestPaginatedfileFileRemoteResponseList(unittest.TestCase):
54
54
  pulp_labels = {
55
55
  'key' : ''
56
56
  },
57
- download_concurrency = 1,
57
+ download_concurrency = 56,
58
58
  max_retries = 56,
59
59
  policy = null,
60
60
  total_timeout = 0.0,
@@ -90,7 +90,7 @@ class TestPaginatedfileFileRemoteResponseList(unittest.TestCase):
90
90
  pulp_labels = {
91
91
  'key' : ''
92
92
  },
93
- download_concurrency = 1,
93
+ download_concurrency = 56,
94
94
  max_retries = 56,
95
95
  policy = null,
96
96
  total_timeout = 0.0,
@@ -52,7 +52,7 @@ class TestPaginatedfileFileRepositoryResponseList(unittest.TestCase):
52
52
  latest_version_href = '',
53
53
  name = '',
54
54
  description = '',
55
- retain_repo_versions = 1,
55
+ retain_repo_versions = 56,
56
56
  remote = '',
57
57
  autopublish = True,
58
58
  manifest = 'PULP_MANIFEST', )
@@ -74,7 +74,7 @@ class TestPaginatedfileFileRepositoryResponseList(unittest.TestCase):
74
74
  latest_version_href = '',
75
75
  name = '',
76
76
  description = '',
77
- retain_repo_versions = 1,
77
+ retain_repo_versions = 56,
78
78
  remote = '',
79
79
  autopublish = True,
80
80
  manifest = 'PULP_MANIFEST', )
@@ -50,7 +50,7 @@ class TestPatchedfileFileRemote(unittest.TestCase):
50
50
  pulp_labels = {
51
51
  'key' : ''
52
52
  },
53
- download_concurrency = 1,
53
+ download_concurrency = 56,
54
54
  max_retries = 56,
55
55
  policy = 'immediate',
56
56
  total_timeout = 0.0,
@@ -41,7 +41,7 @@ class TestPatchedfileFileRepository(unittest.TestCase):
41
41
  },
42
42
  name = '0',
43
43
  description = '0',
44
- retain_repo_versions = 1,
44
+ retain_repo_versions = 56,
45
45
  remote = '',
46
46
  autopublish = True,
47
47
  manifest = 'PULP_MANIFEST'