abacusai.file_connector

Classes

FileConnector

Verification result for an external storage service

Module Contents

class abacusai.file_connector.FileConnector(client, bucket=None, verified=None, writePermission=None, authExpiresAt=None)

Bases: abacusai.return_class.AbstractApiClass

Verification result for an external storage service

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • bucket (str) – The address of the bucket. eg., s3://your-bucket

  • verified (bool) – true if the bucket has passed verification

  • writePermission (bool) – true if Abacus.AI has permission to write to this bucket

  • authExpiresAt (str) – The time when the file connector’s auth expires, if applicable

bucket
verified
write_permission
auth_expires_at
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict