polyaxon 2.0.0rc10__py3-none-any.whl → 2.0.0rc12__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.
@@ -28,7 +28,7 @@ class V1DefaultScheduling(BaseSchemaModel):
28
28
  _IDENTIFIER = "default_scheduling"
29
29
  _SWAGGER_FIELDS = ["affinity", "tolerations"]
30
30
 
31
- node_selector: Optional[Dict[StrictStr, StrictStr]]
31
+ node_selector: Optional[Dict[StrictStr, StrictStr]] = Field(alias="nodeSelector")
32
32
  affinity: Optional[Union[k8s_schemas.V1Affinity, Dict]]
33
33
  tolerations: Optional[List[Union[k8s_schemas.V1Toleration, Dict]]]
34
34
  image_pull_secrets: Optional[List[StrictStr]] = Field(alias="imagePullSecrets")
@@ -25,6 +25,9 @@ from polyaxon.schemas.base import BaseSchemaModel
25
25
  class V1BucketConnection(BaseSchemaModel):
26
26
  _IDENTIFIER = "bucket"
27
27
 
28
+ kind: Optional[
29
+ StrictStr
30
+ ] # TODO: Remove once the kind is not set in the compiler, because the schema is converted to a `dict`
28
31
  bucket: StrictStr
29
32
 
30
33
  def patch(self, schema: "V1BucketConnection"): # type: ignore
@@ -34,6 +37,9 @@ class V1BucketConnection(BaseSchemaModel):
34
37
  class V1ClaimConnection(BaseSchemaModel):
35
38
  _IDENTIFIER = "volume_claim"
36
39
 
40
+ kind: Optional[
41
+ StrictStr
42
+ ] # TODO: Remove once the kind is not set in the compiler, because the schema is converted to a `dict`
37
43
  volume_claim: StrictStr = Field(alias="volumeClaim")
38
44
  mount_path: StrictStr = Field(alias="mountPath")
39
45
  read_only: Optional[bool] = Field(alias="readOnly")
@@ -60,6 +66,9 @@ class V1HostPathConnection(BaseSchemaModel):
60
66
  class V1HostConnection(BaseSchemaModel):
61
67
  _IDENTIFIER = "host"
62
68
 
69
+ kind: Optional[
70
+ StrictStr
71
+ ] # TODO: Remove once the kind is not set in the compiler, because the schema is converted to a `dict`
63
72
  url: StrictStr
64
73
  insecure: Optional[bool]
65
74
 
@@ -71,6 +80,9 @@ class V1HostConnection(BaseSchemaModel):
71
80
  class V1GitConnection(BaseSchemaModel):
72
81
  _IDENTIFIER = "git"
73
82
 
83
+ kind: Optional[
84
+ StrictStr
85
+ ] # TODO: Remove once the kind is not set in the compiler, because the schema is converted to a `dict`
74
86
  url: Optional[StrictStr]
75
87
  revision: Optional[StrictStr]
76
88
  flags: Optional[List[StrictStr]]
@@ -28,6 +28,7 @@ class DeploymentService(BaseServiceConfig):
28
28
  enabled: Optional[bool]
29
29
  replicas: Optional[StrictInt]
30
30
  concurrency: Optional[StrictInt]
31
+ scheme: Optional[StrictStr]
31
32
 
32
33
 
33
34
  class WorkerServiceConfig(DeploymentService):
polyaxon/pkg.py CHANGED
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
 
17
17
  NAME = "polyaxon"
18
- VERSION = "2.0.0-rc10"
18
+ VERSION = "2.0.0-rc12"
19
19
  SCHEMA_VERSION = 1.1
20
20
  DESC = "Command Line Interface (CLI) and client to interact with Polyaxon API."
21
21
  URL = "https://github.com/polyaxon/polyaxon"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyaxon
3
- Version: 2.0.0rc10
3
+ Version: 2.0.0rc12
4
4
  Summary: Command Line Interface (CLI) and client to interact with Polyaxon API.
5
5
  Home-page: https://github.com/polyaxon/polyaxon
6
6
  Author: Polyaxon, Inc.
@@ -34,7 +34,7 @@ Requires-Python: >=3.7
34
34
  Description-Content-Type: text/markdown
35
35
  License-File: LICENSE
36
36
  Requires-Dist: click (<9.0.0,>=7.1.1)
37
- Requires-Dist: clipped (<0.2)
37
+ Requires-Dist: clipped (<0.3)
38
38
  Requires-Dist: Jinja2 (<3.1.0,>=2.10.3)
39
39
  Requires-Dist: kubernetes (>=10.0.1)
40
40
  Requires-Dist: python-dateutil (>=2.7.3)
@@ -49,8 +49,8 @@ Requires-Dist: sentry-sdk (>=1.2.0)
49
49
  Requires-Dist: urllib3 (>=1.25.6)
50
50
  Requires-Dist: certifi (>=2022.12.7)
51
51
  Requires-Dist: pydantic (>=1.10.2)
52
- Requires-Dist: traceml (==1.1.0rc10)
53
- Requires-Dist: hypertune (==1.1.0rc10)
52
+ Requires-Dist: traceml (==1.1.0rc12)
53
+ Requires-Dist: hypertune (==1.1.0rc12)
54
54
  Provides-Extra: azure
55
55
  Requires-Dist: adlfs ; extra == 'azure'
56
56
  Provides-Extra: dev
@@ -7,7 +7,7 @@ polyaxon/lifecycle.py,sha256=laM6TKzaQsloDTA-nqksgCE3Poqn02r2pQBs8LFRYMs,11534
7
7
  polyaxon/live_state.py,sha256=_5Nj8dtHbYeKTCvlHCY3s6TuTB65D0fElNGLx7cjHoA,803
8
8
  polyaxon/logger.py,sha256=wSlDg1uV4XSBoluPPIH-x73i3y271FnVXevO5il7mZw,3340
9
9
  polyaxon/main.py,sha256=1YcGgDXLFfIU-3135cwB4LjWP5s4nRDl9NfWw0x_ux4,6168
10
- polyaxon/pkg.py,sha256=JL1iQQXgFeOaQmAXYmHG50P6aakZQ1EmALCYy_1HGo8,872
10
+ polyaxon/pkg.py,sha256=-sBSApNclbQ9joQfboYkwpaBwuVkvYxzhlyo9pHY1iM,872
11
11
  polyaxon/settings.py,sha256=WaZhtBtCMBE-uCNa_T3ZtSfC9Oze25WyT9cmPk54iEc,4134
12
12
  polyaxon/types.py,sha256=dfr4Tyt6ZHa6eQZOFVxwG9i5DGEkpKuZr9thiddgSZg,1740
13
13
  polyaxon/agents/__init__.py,sha256=YHxPTwI0Bt6pShF-W3u2j8dgFIoAqNQ-YiByV2iRK94,604
@@ -21,7 +21,7 @@ polyaxon/agents/spawners/base.py,sha256=6xXOhBQ8stYn9Mz7CZcq2PrdBz5lUpp6f5neXUF8
21
21
  polyaxon/agents/spawners/spawner.py,sha256=Vg8fVlW7Df9pprOVG4iqAPnY6Zn3v6WFc2Mg87P9x0I,2925
22
22
  polyaxon/auxiliaries/__init__.py,sha256=M2qw3tF6FSalKDJFKYDruzl7RIhgcDTjH6zE6GE2UOU,1223
23
23
  polyaxon/auxiliaries/cleaner.py,sha256=5HmWNiZYn6kk8S0aDLWuR-RitRtHeGY78qqMLFJTy6I,7584
24
- polyaxon/auxiliaries/default_scheduling.py,sha256=T4EPM_FC4gLCUEt47Gj8UfJFqThk9SZfqrRia5phiyc,2895
24
+ polyaxon/auxiliaries/default_scheduling.py,sha256=tHnEtdgy2pqGDfZyV58TKzReajHxQdiDm8Wv-L9kA8k,2925
25
25
  polyaxon/auxiliaries/init.py,sha256=ej6pNSuCjmiDqxT1m7GrXh5uR6ydDlRPREMtBuhNabo,4200
26
26
  polyaxon/auxiliaries/notifier.py,sha256=1dmkgQxPJvpgv7JP9UoE4mlvVObOCWr01bxk82GqDJw,6387
27
27
  polyaxon/auxiliaries/sidecar.py,sha256=PajTvmTfvW19HTMdns5lZGM6hbpgjTyKe9Vu11TqVk4,5255
@@ -105,7 +105,7 @@ polyaxon/connections/gcp/__init__.py,sha256=YHxPTwI0Bt6pShF-W3u2j8dgFIoAqNQ-YiBy
105
105
  polyaxon/connections/gcp/base.py,sha256=Y81AwlL4Tr5hnbu_gpmqU5QDWA1_Hlk4J8xsxqHYvqc,5227
106
106
  polyaxon/connections/gcp/service.py,sha256=J_k7SkILu0IwQkLBYIhdx9v_N00_6zzU0poV1JHkHTE,3396
107
107
  polyaxon/connections/schemas/__init__.py,sha256=fayngaVtuKRq7aToZuytXXzd7MD7P5051lA8UsWTW_Q,913
108
- polyaxon/connections/schemas/connections.py,sha256=VIioKJk7tr50wCkCviaKBC-MEtHC5NukvgfgMH0qo4A,3915
108
+ polyaxon/connections/schemas/connections.py,sha256=pjDPoM4mPrL9Hfah718EZAi62gbi7ci8G402X5CttC4,4499
109
109
  polyaxon/connections/schemas/k8s_resources.py,sha256=fWkDD1twyyO-njZ5oVF_2n97CH7rANX676cBQa7-D8A,1076
110
110
  polyaxon/constants/__init__.py,sha256=YHxPTwI0Bt6pShF-W3u2j8dgFIoAqNQ-YiByV2iRK94,604
111
111
  polyaxon/constants/globals.py,sha256=Hgc8gK6Pl9Qn0PcYdmTYV6_oQg3eZnx38UZBaue-bco,723
@@ -143,7 +143,7 @@ polyaxon/deploy/schemas/proxy.py,sha256=TMIBWPl50z4RER1Gd-T2tyCsMDg30qtEW0nMvF_s
143
143
  polyaxon/deploy/schemas/rbac.py,sha256=s5F5_WHpCXkbgnHkF-ePfgjBsuixFBZWvIR9t53ZH_Q,749
144
144
  polyaxon/deploy/schemas/root_user.py,sha256=dA6qgZa-H7aqrfOlCXNkJYod9d189MyJyKtNacqfOys,959
145
145
  polyaxon/deploy/schemas/security_context.py,sha256=H-VT7amorbuaY791eM3Mm1QyQaz3oK-W45zbjRC9Nd4,1687
146
- polyaxon/deploy/schemas/service.py,sha256=HrobBHCBWPNNxNj0gS41mPKDwTjS0Bergmh5buWh_6c,4159
146
+ polyaxon/deploy/schemas/service.py,sha256=2UgHXKle9uc5u62bIAdSmoLzpnbkiJZnMgHhoEHhSZY,4191
147
147
  polyaxon/deploy/schemas/service_types.py,sha256=V4aZantH1bXGQU9-Qmb_dYhiXpoxbgE4-L0NE84JFc4,768
148
148
  polyaxon/deploy/schemas/ssl.py,sha256=Mie4CdWMQp26RNMg5bMemU4Cc-ESx87J2paDlovhYDo,881
149
149
  polyaxon/deploy/schemas/ui.py,sha256=ytBKllgPk65YmVgKapmDg60XsTAw6XKpmgOq-vGGTEc,1070
@@ -604,9 +604,9 @@ polyaxon/utils/fixtures/services.py,sha256=lofgnnPWtjsBwu9VTbobrlAEHxNlZFtj4NwA1
604
604
  polyaxon/vendor/__init__.py,sha256=YHxPTwI0Bt6pShF-W3u2j8dgFIoAqNQ-YiByV2iRK94,604
605
605
  polyaxon/vendor/shell_pty.py,sha256=QFQ069zpAS0dHbAgt1h8XCcgY52IJsYHkylnx4ijM2w,6944
606
606
  polyaxon_sdk/__init__.py,sha256=DrNXN1PzVktkbsQqbpe4nBxVaOop0CF3oyKm_S7ix_4,2065
607
- polyaxon-2.0.0rc10.dist-info/LICENSE,sha256=86kroZbQUDsmSWOomB7dpceG65UXiVSPob4581tStBc,11349
608
- polyaxon-2.0.0rc10.dist-info/METADATA,sha256=PRN0vzrXwcECjk7u4l7LcgrCi0OnyZIq3yg74BRCLkI,11722
609
- polyaxon-2.0.0rc10.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
610
- polyaxon-2.0.0rc10.dist-info/entry_points.txt,sha256=-3Sa1bKqteO912k01BirtAOicBHFsrvDHm1gsF5UKqA,72
611
- polyaxon-2.0.0rc10.dist-info/top_level.txt,sha256=I_2e_Vv8rdcqWcMMdZocbrHiKPNGqoSMBqIObrw00Rg,22
612
- polyaxon-2.0.0rc10.dist-info/RECORD,,
607
+ polyaxon-2.0.0rc12.dist-info/LICENSE,sha256=86kroZbQUDsmSWOomB7dpceG65UXiVSPob4581tStBc,11349
608
+ polyaxon-2.0.0rc12.dist-info/METADATA,sha256=QWFMzm3JZPS-ycd6kl4jrAoRQb7njb5MmEHaszoF3tQ,11722
609
+ polyaxon-2.0.0rc12.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
610
+ polyaxon-2.0.0rc12.dist-info/entry_points.txt,sha256=-3Sa1bKqteO912k01BirtAOicBHFsrvDHm1gsF5UKqA,72
611
+ polyaxon-2.0.0rc12.dist-info/top_level.txt,sha256=I_2e_Vv8rdcqWcMMdZocbrHiKPNGqoSMBqIObrw00Rg,22
612
+ polyaxon-2.0.0rc12.dist-info/RECORD,,