files-com 1.6.10__py3-none-any.whl → 1.6.11__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 files-com might be problematic. Click here for more details.
- _VERSION +1 -1
- {files_com-1.6.10.dist-info → files_com-1.6.11.dist-info}/METADATA +1 -1
- {files_com-1.6.10.dist-info → files_com-1.6.11.dist-info}/RECORD +8 -8
- files_sdk/__init__.py +1 -1
- files_sdk/models/automation.py +16 -0
- {files_com-1.6.10.dist-info → files_com-1.6.11.dist-info}/WHEEL +0 -0
- {files_com-1.6.10.dist-info → files_com-1.6.11.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.10.dist-info → files_com-1.6.11.dist-info}/top_level.txt +0 -0
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.11
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
README.md,sha256=dJpTjuJA-JJIQ4CKgQhlbqyxanVatHk0RXgCD6KFl3A,28758
|
|
2
|
-
_VERSION,sha256=
|
|
3
|
-
files_com-1.6.
|
|
4
|
-
files_sdk/__init__.py,sha256=
|
|
2
|
+
_VERSION,sha256=Lty-CLevhl38Fp1XGHgQARVE18b-e6wafPbBK-NCM2c,7
|
|
3
|
+
files_com-1.6.11.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=HfzpIYLtmk2RFcXS7eyHdEasS2b_TVzie4Y5bROhgDw,12464
|
|
5
5
|
files_sdk/api.py,sha256=HOLk50HLQCbnHwnAr9OElQEWvdA_BABBSEvvFSt1S4A,1846
|
|
6
6
|
files_sdk/api_client.py,sha256=cfFvm-o4Ao8SWADiJv7t7qnJfG_LJmWV3l6ALTC-Opo,11264
|
|
7
7
|
files_sdk/error.py,sha256=lZKht6lYj9i99CzRbHschmdSs6T2Y51-YrZX_5Y_o7A,64945
|
|
@@ -21,7 +21,7 @@ files_sdk/models/as2_outgoing_message.py,sha256=7mSM2Ce-9HUsk7klRmS30kBBPMJBRWsX
|
|
|
21
21
|
files_sdk/models/as2_partner.py,sha256=ISmZcO_Jnh8nX5Ia-cFqlcCbd9HCQsRJ5LsnIceHgxQ,19826
|
|
22
22
|
files_sdk/models/as2_station.py,sha256=ZFjSw2sBRQgh9x1m76dFB2crSp4P__9xqStaBZa8ZBY,10955
|
|
23
23
|
files_sdk/models/auto.py,sha256=nODYUPqEsTw7suz0s6zDTsFd8j5yeSIzBELTiaXxzRE,995
|
|
24
|
-
files_sdk/models/automation.py,sha256=
|
|
24
|
+
files_sdk/models/automation.py,sha256=MmzKUW6VbOGUcNOEQdyhMPAT49M8sIvuf3jakXG4m6s,48097
|
|
25
25
|
files_sdk/models/automation_log.py,sha256=hzaEoc1_ZG8aLmymK4QpB1OD-tYphg2NTNggF8UMFqs,15299
|
|
26
26
|
files_sdk/models/automation_run.py,sha256=ThDA_5inLYaunKOcNgXFD9QLlhndJXC2TOl7-GqK098,5341
|
|
27
27
|
files_sdk/models/bandwidth_snapshot.py,sha256=IBcRP5r_iFl86lhHOb5o5UZdsT8_-cBrAjKyPAc7OBw,4722
|
|
@@ -108,7 +108,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
|
|
|
108
108
|
files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
|
|
109
109
|
files_sdk/models/web_dav_action_log.py,sha256=jPX4sOmR9TbYnsU8DU3b0-KQ8E2cHNaqdmFZKTjzpwE,56358
|
|
110
110
|
files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
|
|
111
|
-
files_com-1.6.
|
|
112
|
-
files_com-1.6.
|
|
113
|
-
files_com-1.6.
|
|
114
|
-
files_com-1.6.
|
|
111
|
+
files_com-1.6.11.dist-info/METADATA,sha256=cfnt9k7x56MBaTwgyAklRLnl6TjLN19FBmP8WZPjycc,29050
|
|
112
|
+
files_com-1.6.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
113
|
+
files_com-1.6.11.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
114
|
+
files_com-1.6.11.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
files_sdk/models/automation.py
CHANGED
|
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
11
11
|
class Automation:
|
|
12
12
|
default_attributes = {
|
|
13
13
|
"id": None, # int64 - Automation ID
|
|
14
|
+
"always_serialize_jobs": None, # boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
14
15
|
"always_overwrite_size_matching_files": None, # boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
15
16
|
"automation": None, # string - Automation type
|
|
16
17
|
"deleted": None, # boolean - Indicates if the automation has been deleted.
|
|
@@ -102,6 +103,7 @@ class Automation:
|
|
|
102
103
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
103
104
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
104
105
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
106
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
105
107
|
# description - string - Description for the this Automation.
|
|
106
108
|
# disabled - boolean - If true, this automation will not run.
|
|
107
109
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
|
@@ -368,6 +370,7 @@ def get(id, params=None, options=None):
|
|
|
368
370
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
369
371
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
370
372
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
373
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
371
374
|
# description - string - Description for the this Automation.
|
|
372
375
|
# disabled - boolean - If true, this automation will not run.
|
|
373
376
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
|
@@ -444,6 +447,12 @@ def create(params=None, options=None):
|
|
|
444
447
|
raise InvalidParameterError(
|
|
445
448
|
"Bad parameter: always_overwrite_size_matching_files must be an bool"
|
|
446
449
|
)
|
|
450
|
+
if "always_serialize_jobs" in params and not isinstance(
|
|
451
|
+
params["always_serialize_jobs"], bool
|
|
452
|
+
):
|
|
453
|
+
raise InvalidParameterError(
|
|
454
|
+
"Bad parameter: always_serialize_jobs must be an bool"
|
|
455
|
+
)
|
|
447
456
|
if "description" in params and not isinstance(params["description"], str):
|
|
448
457
|
raise InvalidParameterError(
|
|
449
458
|
"Bad parameter: description must be an str"
|
|
@@ -565,6 +574,7 @@ def manual_run(id, params=None, options=None):
|
|
|
565
574
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
566
575
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
567
576
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
577
|
+
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
568
578
|
# description - string - Description for the this Automation.
|
|
569
579
|
# disabled - boolean - If true, this automation will not run.
|
|
570
580
|
# exclude_pattern - string - If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
|
|
@@ -644,6 +654,12 @@ def update(id, params=None, options=None):
|
|
|
644
654
|
raise InvalidParameterError(
|
|
645
655
|
"Bad parameter: always_overwrite_size_matching_files must be an bool"
|
|
646
656
|
)
|
|
657
|
+
if "always_serialize_jobs" in params and not isinstance(
|
|
658
|
+
params["always_serialize_jobs"], bool
|
|
659
|
+
):
|
|
660
|
+
raise InvalidParameterError(
|
|
661
|
+
"Bad parameter: always_serialize_jobs must be an bool"
|
|
662
|
+
)
|
|
647
663
|
if "description" in params and not isinstance(params["description"], str):
|
|
648
664
|
raise InvalidParameterError(
|
|
649
665
|
"Bad parameter: description must be an str"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|