files-com 1.6.30__py3-none-any.whl → 1.6.31__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 CHANGED
@@ -1 +1 @@
1
- 1.6.30
1
+ 1.6.31
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.30
3
+ Version: 1.6.31
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -1,7 +1,7 @@
1
1
  README.md,sha256=dJpTjuJA-JJIQ4CKgQhlbqyxanVatHk0RXgCD6KFl3A,28758
2
- _VERSION,sha256=PfJdPIeiJm1oSZ9yT_lVfv-OBA0z8TPl_6dS0tU9zK0,7
3
- files_com-1.6.30.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=pJ08a-0_kWIXL8vowoeaiiGH1JzlgDHile5nKuBsGHk,12884
2
+ _VERSION,sha256=wjgVBlDP_YCCStTPgfahZtOtf4NR38gg4-JtIreTiuE,7
3
+ files_com-1.6.31.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=mvJ4eFPnGLtD1FZu4XijNmwyR3IEkAUwuy25ge5kndE,12884
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
@@ -25,7 +25,7 @@ files_sdk/models/automation.py,sha256=u1FPXXJF5sjsAWcVLggzoJjnKcVzkhkALLB-iX3Ujc
25
25
  files_sdk/models/automation_log.py,sha256=wiv5ih_lUk0NKoV777IuevJz6JChm2lcpasqzW6o26c,85083
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
28
- files_sdk/models/behavior.py,sha256=uzjgb559rhcwYKDJy3ofnkhQRjzje4bHpOIt9axLuRE,18369
28
+ files_sdk/models/behavior.py,sha256=8a9Q0FEwf39595BIv2kCDsN12CaSmcZKTGT813YOUdU,17677
29
29
  files_sdk/models/bundle.py,sha256=DO6vTAnbdh7A1mkRkHqdv629t701XRwRAl4hrNepUHo,36214
30
30
  files_sdk/models/bundle_action.py,sha256=lgDrrFake0zkxE0Cq5QDwlJi2M2ZyJrquP5sgh_XnA0,5039
31
31
  files_sdk/models/bundle_download.py,sha256=ZSjf6R0kCiFGgjQq7bu5nsFAtaW0sE72IZhCx2g5D10,4832
@@ -112,7 +112,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
112
112
  files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
113
113
  files_sdk/models/web_dav_action_log.py,sha256=7__LZvb_fInvXwy90ur7IrcRSxKOwF8L6OwpjJbS73Y,355354
114
114
  files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
115
- files_com-1.6.30.dist-info/METADATA,sha256=V_djcizc-Hy1S10Nrt39zp9KJckco3rToQ926EcgTYA,29050
116
- files_com-1.6.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
- files_com-1.6.30.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
- files_com-1.6.30.dist-info/RECORD,,
115
+ files_com-1.6.31.dist-info/METADATA,sha256=ICuCJVJ9hk9SZ8BqhnsZyUxLj2LxwKiKi1YTJ6M-jac,29050
116
+ files_com-1.6.31.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
+ files_com-1.6.31.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
+ files_com-1.6.31.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -223,7 +223,7 @@ session_id = None
223
223
  source_ip = None
224
224
  base_url = "https://app.files.com"
225
225
  base_path = "api/rest/v1"
226
- version = "1.6.30"
226
+ version = "1.6.31"
227
227
 
228
228
  __version__ = version
229
229
 
@@ -118,7 +118,6 @@ class Behavior:
118
118
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
119
119
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
120
120
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
121
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
122
121
  def list(params=None, options=None):
123
122
  if not isinstance(params, dict):
124
123
  params = {}
@@ -132,12 +131,6 @@ def list(params=None, options=None):
132
131
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
133
132
  if "filter" in params and not isinstance(params["filter"], dict):
134
133
  raise InvalidParameterError("Bad parameter: filter must be an dict")
135
- if "filter_prefix" in params and not isinstance(
136
- params["filter_prefix"], dict
137
- ):
138
- raise InvalidParameterError(
139
- "Bad parameter: filter_prefix must be an dict"
140
- )
141
134
  return ListObj(Behavior, "GET", "/behaviors", params, options)
142
135
 
143
136
 
@@ -172,7 +165,6 @@ def get(id, params=None, options=None):
172
165
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
173
166
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
174
167
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
175
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
176
168
  # path (required) - string - Path to operate on.
177
169
  # ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
178
170
  def list_for(path, params=None, options=None):
@@ -189,12 +181,6 @@ def list_for(path, params=None, options=None):
189
181
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
190
182
  if "filter" in params and not isinstance(params["filter"], dict):
191
183
  raise InvalidParameterError("Bad parameter: filter must be an dict")
192
- if "filter_prefix" in params and not isinstance(
193
- params["filter_prefix"], dict
194
- ):
195
- raise InvalidParameterError(
196
- "Bad parameter: filter_prefix must be an dict"
197
- )
198
184
  if "path" in params and not isinstance(params["path"], str):
199
185
  raise InvalidParameterError("Bad parameter: path must be an str")
200
186
  if "ancestor_behaviors" in params and not isinstance(