Files.com 1.4.210__tar.gz → 1.4.212__tar.gz
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.
- {Files.com-1.4.210 → Files.com-1.4.212}/Files.com.egg-info/PKG-INFO +1 -1
- {Files.com-1.4.210 → Files.com-1.4.212}/PKG-INFO +1 -1
- {Files.com-1.4.210 → Files.com-1.4.212}/README.md +45 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/__init__.py +1 -1
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/automation.py +8 -8
- {Files.com-1.4.210 → Files.com-1.4.212}/Files.com.egg-info/SOURCES.txt +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/Files.com.egg-info/dependency_links.txt +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/Files.com.egg-info/requires.txt +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/Files.com.egg-info/top_level.txt +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/api.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/api_client.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/error.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/list_obj.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/__init__.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/account_line_item.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/action.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/action_notification_export.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/action_notification_export_result.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/api_key.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/api_request_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/app.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/as2_incoming_message.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/as2_outgoing_message.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/as2_partner.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/as2_station.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/auto.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/automation_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/automation_run.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bandwidth_snapshot.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/behavior.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle_action.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle_download.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle_notification.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle_path.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle_recipient.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/bundle_registration.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/clickwrap.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/dns_record.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/email_incoming_message.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/email_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/errors.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/exavault_api_request_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/external_event.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file_action.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file_comment.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file_comment_reaction.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file_migration.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file_migration_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/file_upload_part.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/folder.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/form_field.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/form_field_set.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/ftp_action_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/gpg_key.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/group.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/group_user.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/history.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/history_export.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/history_export_result.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/image.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/inbox_recipient.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/inbox_registration.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/inbox_upload.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/invoice.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/invoice_line_item.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/ip_address.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/lock.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/message.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/message_comment.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/message_comment_reaction.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/message_reaction.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/notification.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/outbound_connection_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/payment.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/payment_line_item.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/permission.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/preview.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/priority.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/project.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/public_hosting_request_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/public_ip_address.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/public_key.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/remote_server.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/remote_server_configuration_file.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/request.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/session.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/settings_change.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/sftp_action_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/sftp_host_key.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/share_group.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/share_group_member.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/siem_http_destination.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/site.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/snapshot.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/sso_strategy.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/status.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/style.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/sync_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/usage_daily_snapshot.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/usage_snapshot.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/user.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/user_cipher_use.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/user_request.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/user_sftp_client_use.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/web_dav_action_log.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/webhook_test.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/path_util.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/util.py +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/pyproject.toml +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/setup.cfg +0 -0
- {Files.com-1.4.210 → Files.com-1.4.212}/setup.py +0 -0
|
@@ -584,6 +584,51 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
|
|
|
584
584
|
|`TrialLockedError`| `SiteConfigurationError` |
|
|
585
585
|
|`UserRequestsEnabledRequiredError`| `SiteConfigurationError` |
|
|
586
586
|
|
|
587
|
+
## {frontmatter.title}
|
|
588
|
+
|
|
589
|
+
Certain API operations return lists of objects. When the number of objects in the list is large,
|
|
590
|
+
the API will paginate the results.
|
|
591
|
+
|
|
592
|
+
The Files.com Python SDK provides multiple ways to paginate through lists of objects.
|
|
593
|
+
|
|
594
|
+
### Automatic Pagination
|
|
595
|
+
|
|
596
|
+
The `auto_paging_iter` method automatically paginates and loads each page into memory.
|
|
597
|
+
|
|
598
|
+
```python title="Example Request"
|
|
599
|
+
import files_sdk
|
|
600
|
+
|
|
601
|
+
try:
|
|
602
|
+
for item in files_sdk.folder.list_for("remote/path/to/folder").auto_paging_iter():
|
|
603
|
+
print(item.type, item.path)
|
|
604
|
+
except files_sdk.error.NotAuthenticatedError as err:
|
|
605
|
+
print(f"Authentication Error Occurred ({type(err).__name__}):", err)
|
|
606
|
+
except files_sdk.error.Error as err:
|
|
607
|
+
print(f"Unknown Error Occurred ({type(err).__name__}):", err)
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Manual Pagination
|
|
611
|
+
|
|
612
|
+
The `load_next_page/has_next_page` methods allow for manual pagination and loading of each page into memory.
|
|
613
|
+
|
|
614
|
+
```python title="Example Request"
|
|
615
|
+
import files_sdk
|
|
616
|
+
|
|
617
|
+
try:
|
|
618
|
+
list_obj = files_sdk.folder.list_for("remote/path/to/folder")
|
|
619
|
+
|
|
620
|
+
while True:
|
|
621
|
+
for item in list_obj:
|
|
622
|
+
print(item.type, item.path)
|
|
623
|
+
if not list_obj.has_next_page:
|
|
624
|
+
break
|
|
625
|
+
list_obj.load_next_page()
|
|
626
|
+
except files_sdk.error.NotAuthenticatedError as err:
|
|
627
|
+
print(f"Authentication Error Occurred ({type(err).__name__}):", err)
|
|
628
|
+
except files_sdk.error.Error as err:
|
|
629
|
+
print(f"Unknown Error Occurred ({type(err).__name__}):", err)
|
|
630
|
+
```
|
|
631
|
+
|
|
587
632
|
## Case Sensitivity
|
|
588
633
|
|
|
589
634
|
The Files.com API compares files and paths in a case-insensitive manner.
|
|
@@ -32,8 +32,8 @@ class Automation:
|
|
|
32
32
|
"path": None, # string - Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
33
33
|
"path_time_zone": None, # string - Timezone to use when rendering timestamps in paths.
|
|
34
34
|
"recurring_day": None, # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
35
|
-
"retry_on_failure_interval_in_minutes": None, # int64 - If the Automation fails, retry at this interval (in minutes).
|
|
36
|
-
"retry_on_failure_number_of_attempts": None, # int64 - If the Automation fails, retry at most this many times.
|
|
35
|
+
"retry_on_failure_interval_in_minutes": None, # int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
36
|
+
"retry_on_failure_number_of_attempts": None, # int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
37
37
|
"schedule": None, # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
|
|
38
38
|
"human_readable_schedule": None, # string - If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
|
|
39
39
|
"schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
|
@@ -112,8 +112,8 @@ class Automation:
|
|
|
112
112
|
# name - string - Name for this automation.
|
|
113
113
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
|
114
114
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
|
115
|
-
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
|
116
|
-
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
|
115
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
116
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
117
117
|
# trigger - string - How this automation is triggered to run.
|
|
118
118
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
119
119
|
# value - object - A Hash of attributes specific to the automation type.
|
|
@@ -378,8 +378,8 @@ def get(id, params=None, options=None):
|
|
|
378
378
|
# name - string - Name for this automation.
|
|
379
379
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
|
380
380
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
|
381
|
-
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
|
382
|
-
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
|
381
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
382
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
383
383
|
# trigger - string - How this automation is triggered to run.
|
|
384
384
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
385
385
|
# value - object - A Hash of attributes specific to the automation type.
|
|
@@ -543,8 +543,8 @@ def manual_run(id, params=None, options=None):
|
|
|
543
543
|
# name - string - Name for this automation.
|
|
544
544
|
# overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
|
|
545
545
|
# path_time_zone - string - Timezone to use when rendering timestamps in paths.
|
|
546
|
-
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes).
|
|
547
|
-
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times.
|
|
546
|
+
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
547
|
+
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
548
548
|
# trigger - string - How this automation is triggered to run.
|
|
549
549
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
550
550
|
# value - object - A Hash of attributes specific to the automation type.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/action_notification_export_result.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{Files.com-1.4.210 → Files.com-1.4.212}/files_sdk/models/remote_server_configuration_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|