files-com 1.6.64__py3-none-any.whl → 1.6.66__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.
- README.md +1 -1
- _VERSION +1 -1
- {files_com-1.6.64.dist-info → files_com-1.6.66.dist-info}/METADATA +2 -2
- {files_com-1.6.64.dist-info → files_com-1.6.66.dist-info}/RECORD +10 -10
- files_sdk/__init__.py +1 -1
- files_sdk/error.py +1 -1
- files_sdk/models/sync_run.py +18 -2
- {files_com-1.6.64.dist-info → files_com-1.6.66.dist-info}/WHEEL +0 -0
- {files_com-1.6.64.dist-info → files_com-1.6.66.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.64.dist-info → files_com-1.6.66.dist-info}/top_level.txt +0 -0
README.md
CHANGED
|
@@ -652,7 +652,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
652
652
|
|`InvalidPriorityColorError`| `ProcessingFailureError` |
|
|
653
653
|
|`InvalidRangeError`| `ProcessingFailureError` |
|
|
654
654
|
|`InvalidSiteError`| `ProcessingFailureError` |
|
|
655
|
-
|`
|
|
655
|
+
|`MetadataNotSupportedOnRemotesError`| `ProcessingFailureError` |
|
|
656
656
|
|`ModelSaveErrorError`| `ProcessingFailureError` |
|
|
657
657
|
|`MultipleProcessingErrorsError`| `ProcessingFailureError` |
|
|
658
658
|
|`PathTooLongError`| `ProcessingFailureError` |
|
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.66
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: files_com
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.66
|
|
4
4
|
Summary: Python bindings for the Files.com API
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.5
|
|
@@ -664,7 +664,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
664
664
|
|`InvalidPriorityColorError`| `ProcessingFailureError` |
|
|
665
665
|
|`InvalidRangeError`| `ProcessingFailureError` |
|
|
666
666
|
|`InvalidSiteError`| `ProcessingFailureError` |
|
|
667
|
-
|`
|
|
667
|
+
|`MetadataNotSupportedOnRemotesError`| `ProcessingFailureError` |
|
|
668
668
|
|`ModelSaveErrorError`| `ProcessingFailureError` |
|
|
669
669
|
|`MultipleProcessingErrorsError`| `ProcessingFailureError` |
|
|
670
670
|
|`PathTooLongError`| `ProcessingFailureError` |
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
README.md,sha256
|
|
2
|
-
_VERSION,sha256=
|
|
3
|
-
files_com-1.6.
|
|
4
|
-
files_sdk/__init__.py,sha256=
|
|
1
|
+
README.md,sha256=1Rj6T45hiVlUVx3J-b3E4n3JnWQSEEkuNibBeYzwgWQ,31440
|
|
2
|
+
_VERSION,sha256=9en8UKF0LfddWxf0_Txtyp0XQ2MGmi2-tXOlyHRlRZs,7
|
|
3
|
+
files_com-1.6.66.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=k-c_2mkTwCJ-2JCRQ1jQzo9xOTEsI76i5QEAwk51OcI,13062
|
|
5
5
|
files_sdk/api.py,sha256=HOLk50HLQCbnHwnAr9OElQEWvdA_BABBSEvvFSt1S4A,1846
|
|
6
6
|
files_sdk/api_client.py,sha256=cfFvm-o4Ao8SWADiJv7t7qnJfG_LJmWV3l6ALTC-Opo,11264
|
|
7
|
-
files_sdk/error.py,sha256=
|
|
7
|
+
files_sdk/error.py,sha256=1Nrfq2AuyTf86XH1Pwx-ykzIKpPGSUibCGs-QF6_9LI,66643
|
|
8
8
|
files_sdk/list_obj.py,sha256=MWgmESLAmfh1uaSw76PWxmnf9f6_08TLUHe8_mCYKL4,1157
|
|
9
9
|
files_sdk/path_util.py,sha256=7x8X3JLoMkcqNefCaBeHYXD8MGvPby4AOy-xnBX_LNk,1694
|
|
10
10
|
files_sdk/util.py,sha256=6aA4N0Wq_ykINW7eMrs2ntFAL2hRLM6IvJf6n_yP34c,962
|
|
@@ -102,7 +102,7 @@ files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,13
|
|
|
102
102
|
files_sdk/models/style.py,sha256=KZY0fZ4kP4AtwZpCi24EtNXL8WFLhE9a1Jme1gA6Kkw,5201
|
|
103
103
|
files_sdk/models/sync.py,sha256=dIlmpq4LNwYRMeD5-cQpx6r3XCpF5r8uvzYFGFT17fA,28291
|
|
104
104
|
files_sdk/models/sync_log.py,sha256=uWP2p4LiUmV5hqZvaZFIBJIyPmdZ21lP9O81LQuNKS4,21135
|
|
105
|
-
files_sdk/models/sync_run.py,sha256=
|
|
105
|
+
files_sdk/models/sync_run.py,sha256=hxjkVOgsyAL55uZ6AbZWPcICa4283MjhoTrzbkpI8kg,6963
|
|
106
106
|
files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
|
|
107
107
|
files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
|
|
108
108
|
files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
|
|
@@ -113,7 +113,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
|
|
|
113
113
|
files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
|
|
114
114
|
files_sdk/models/web_dav_action_log.py,sha256=uMTIkTgSpW5mgKAEWnCmI4U5eqcAL2g8OHqB-lBir3A,76424
|
|
115
115
|
files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
|
|
116
|
-
files_com-1.6.
|
|
117
|
-
files_com-1.6.
|
|
118
|
-
files_com-1.6.
|
|
119
|
-
files_com-1.6.
|
|
116
|
+
files_com-1.6.66.dist-info/METADATA,sha256=9CY4-EioXuF2pnVGS5qfaCDOun3V8iRJVKMZv4FCU7U,31732
|
|
117
|
+
files_com-1.6.66.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
118
|
+
files_com-1.6.66.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
119
|
+
files_com-1.6.66.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
files_sdk/error.py
CHANGED
|
@@ -2407,7 +2407,7 @@ class InvalidSiteError(ProcessingFailureError):
|
|
|
2407
2407
|
)
|
|
2408
2408
|
|
|
2409
2409
|
|
|
2410
|
-
class
|
|
2410
|
+
class MetadataNotSupportedOnRemotesError(ProcessingFailureError):
|
|
2411
2411
|
def __init__(
|
|
2412
2412
|
self,
|
|
2413
2413
|
message=None,
|
files_sdk/models/sync_run.py
CHANGED
|
@@ -57,8 +57,12 @@ class SyncRun:
|
|
|
57
57
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
58
58
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
59
59
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
60
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `sync_id` or `
|
|
61
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `dry_run` or `sync_id`. Valid field combinations are `[ sync_id, status ]`.
|
|
60
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `sync_id`, `created_at` or `status`.
|
|
61
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `status`, `dry_run`, `src_remote_server_type`, `dest_remote_server_type` or `sync_id`. Valid field combinations are `[ status, created_at ]`, `[ src_remote_server_type, created_at ]`, `[ dest_remote_server_type, created_at ]`, `[ sync_id, created_at ]`, `[ src_remote_server_type, status ]`, `[ dest_remote_server_type, status ]`, `[ sync_id, status ]`, `[ src_remote_server_type, status, created_at ]`, `[ dest_remote_server_type, status, created_at ]` or `[ sync_id, status, created_at ]`.
|
|
62
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
63
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
64
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
65
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
62
66
|
def list(params=None, options=None):
|
|
63
67
|
if not isinstance(params, dict):
|
|
64
68
|
params = {}
|
|
@@ -74,6 +78,18 @@ def list(params=None, options=None):
|
|
|
74
78
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
75
79
|
if "filter" in params and not isinstance(params["filter"], dict):
|
|
76
80
|
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
81
|
+
if "filter_gt" in params and not isinstance(params["filter_gt"], dict):
|
|
82
|
+
raise InvalidParameterError("Bad parameter: filter_gt must be an dict")
|
|
83
|
+
if "filter_gteq" in params and not isinstance(params["filter_gteq"], dict):
|
|
84
|
+
raise InvalidParameterError(
|
|
85
|
+
"Bad parameter: filter_gteq must be an dict"
|
|
86
|
+
)
|
|
87
|
+
if "filter_lt" in params and not isinstance(params["filter_lt"], dict):
|
|
88
|
+
raise InvalidParameterError("Bad parameter: filter_lt must be an dict")
|
|
89
|
+
if "filter_lteq" in params and not isinstance(params["filter_lteq"], dict):
|
|
90
|
+
raise InvalidParameterError(
|
|
91
|
+
"Bad parameter: filter_lteq must be an dict"
|
|
92
|
+
)
|
|
77
93
|
return ListObj(SyncRun, "GET", "/sync_runs", params, options)
|
|
78
94
|
|
|
79
95
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|