dataflow-core 2.1.12__py3-none-any.whl → 2.1.13__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 dataflow-core might be problematic. Click here for more details.
- dataflow/schemas/connection.py +4 -4
- dataflow/schemas/secret.py +4 -4
- {dataflow_core-2.1.12.dist-info → dataflow_core-2.1.13.dist-info}/METADATA +1 -1
- {dataflow_core-2.1.12.dist-info → dataflow_core-2.1.13.dist-info}/RECORD +7 -7
- {dataflow_core-2.1.12.dist-info → dataflow_core-2.1.13.dist-info}/WHEEL +0 -0
- {dataflow_core-2.1.12.dist-info → dataflow_core-2.1.13.dist-info}/entry_points.txt +0 -0
- {dataflow_core-2.1.12.dist-info → dataflow_core-2.1.13.dist-info}/top_level.txt +0 -0
dataflow/schemas/connection.py
CHANGED
|
@@ -29,11 +29,11 @@ class ConnectionBase(BaseModel):
|
|
|
29
29
|
import re
|
|
30
30
|
if not isinstance(v, str):
|
|
31
31
|
raise ValueError("Connection ID must be a string.")
|
|
32
|
-
if len(v) >
|
|
33
|
-
raise ValueError("Connection ID must be at most
|
|
34
|
-
if not re.fullmatch(r"[A-Za-z0-
|
|
32
|
+
if len(v) > 30:
|
|
33
|
+
raise ValueError("Connection ID must be at most 30 characters long.")
|
|
34
|
+
if not re.fullmatch(r"[A-Za-z0-9_-]+", v):
|
|
35
35
|
raise ValueError(
|
|
36
|
-
"Connection ID can only contain letters, numbers, and hyphens (-)!"
|
|
36
|
+
"Connection ID can only contain letters, numbers, underscores (_), and hyphens (-)!"
|
|
37
37
|
)
|
|
38
38
|
return v
|
|
39
39
|
|
dataflow/schemas/secret.py
CHANGED
|
@@ -16,11 +16,11 @@ class SecretBase(BaseModel):
|
|
|
16
16
|
import re
|
|
17
17
|
if not isinstance(v, str):
|
|
18
18
|
raise ValueError("Secret key must be a string.")
|
|
19
|
-
if len(v) >
|
|
20
|
-
raise ValueError("Secret key must be at most
|
|
21
|
-
if not re.fullmatch(r"[A-Za-z0-
|
|
19
|
+
if len(v) > 30:
|
|
20
|
+
raise ValueError("Secret key must be at most 30 characters long.")
|
|
21
|
+
if not re.fullmatch(r"[A-Za-z0-9_-]+", v):
|
|
22
22
|
raise ValueError(
|
|
23
|
-
"Secret key can only contain letters, numbers, and hyphens (-)!"
|
|
23
|
+
"Secret key can only contain letters, numbers, underscores (_), and hyphens (-)!"
|
|
24
24
|
)
|
|
25
25
|
return v
|
|
26
26
|
|
|
@@ -33,9 +33,9 @@ dataflow/models/user_environment.py,sha256=yI9NutULcLiwlycuEin6ROe6o1Sjdv_sgw2ME
|
|
|
33
33
|
dataflow/models/user_team.py,sha256=r_fmKvf6JuGgiiI9TXWjVG2QZ3WOvDrOwYWVQ3r8oWo,659
|
|
34
34
|
dataflow/models/variables.py,sha256=Sinvv3zFYni5i_GrL69cVfhCh4tOOaIHiEzWYRJ-i10,1132
|
|
35
35
|
dataflow/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
|
-
dataflow/schemas/connection.py,sha256=
|
|
36
|
+
dataflow/schemas/connection.py,sha256=ut2sqz06yOjmFKzHry92FEt7DN09Bj30GYse35__Cuw,2467
|
|
37
37
|
dataflow/schemas/git_ssh.py,sha256=N1O7HM6ZbygIBZn2rKvNR0e7IM3ZJMAH6aJtjaghDr0,1283
|
|
38
|
-
dataflow/schemas/secret.py,sha256=
|
|
38
|
+
dataflow/schemas/secret.py,sha256=wMSCn6zoBHS-R4NoKwljq2JUad8p9JY542UNJFa86X8,1183
|
|
39
39
|
dataflow/scripts/clone_environment.sh,sha256=Qy0GylsA3kUVUL_L1MirxIWujOFhT1tikKqXNtCTWd4,506
|
|
40
40
|
dataflow/scripts/create_environment.sh,sha256=3FHgNplJuEZvyTsLqlCJNX9oyfXgsfqn80VZk2xtvso,828
|
|
41
41
|
dataflow/scripts/update_environment.sh,sha256=2dtn2xlNi6frpig-sqlGE1_IKRbbkqYOCpf_qyMKKII,992
|
|
@@ -50,8 +50,8 @@ dataflow/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
50
50
|
dataflow/utils/exceptions.py,sha256=8GRFoYZ5dPGQckVm2znaHpPi0ZAs69fK-RGKukEsapk,4432
|
|
51
51
|
dataflow/utils/get_current_user.py,sha256=4nSO3SPVMZhW-MsIgxR3f9ZzrFaIZIuyrM6hvfyE7PQ,1202
|
|
52
52
|
dataflow/utils/logger.py,sha256=7BFrOq5Oiqn8P4XZbgJzMP5O07d2fpdECbbfsjrUuHw,1213
|
|
53
|
-
dataflow_core-2.1.
|
|
54
|
-
dataflow_core-2.1.
|
|
55
|
-
dataflow_core-2.1.
|
|
56
|
-
dataflow_core-2.1.
|
|
57
|
-
dataflow_core-2.1.
|
|
53
|
+
dataflow_core-2.1.13.dist-info/METADATA,sha256=Eyk1E5u6AlVNLcLV7ZUYOyZvknXtui-RY9KB1HaIIOo,370
|
|
54
|
+
dataflow_core-2.1.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
55
|
+
dataflow_core-2.1.13.dist-info/entry_points.txt,sha256=ppj_EIbYrJJwCPg1kfdsZk5q1N-Ejfis1neYrnjhO8o,117
|
|
56
|
+
dataflow_core-2.1.13.dist-info/top_level.txt,sha256=SZsUOpSCK9ntUy-3Tusxzf5A2e8ebwD8vouPb1dPt_8,23
|
|
57
|
+
dataflow_core-2.1.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|