deriva.config package¶
Submodules¶
deriva.config.acl_config module¶
-
class
deriva.config.acl_config.
AclConfig
(server, catalog_id, config_file, credentials, schema_name=None, table_name=None, verbose=False)[source]¶ Bases:
object
-
ACL_TYPES
= ['catalog_acl', 'schema_acls', 'table_acls', 'column_acls', 'foreign_key_acls']¶
-
GC_NAME
= 'groups'¶
-
GLOBUS_PREFIX
= 'https://auth.globus.org/'¶
-
NC_NAME
= 'name'¶
-
ROBOT_PREFIX_FORMAT
= 'https://{server}/webauthn_robot/'¶
-
-
exception
deriva.config.acl_config.
NoForeignKeyError
[source]¶ Bases:
ValueError
-
class
deriva.config.acl_config.
Table
(d)[source]¶ Bases:
deriva.core.utils.core_utils.AttrDict
-
ERMREST_DEFAULT_COLS
= ['RID', 'RCB', 'RMB', 'RCT', 'RMT']¶
-
deriva.config.annotation_config module¶
-
class
deriva.config.annotation_config.
AttrConfig
(server, catalog_id, config_file, credentials, verbose=False, schema_name=None, table_name=None)[source]¶ Bases:
object
-
class
deriva.config.annotation_config.
AttrSpec
(specdict, managed_annotations, ignore_unmanaged, ignored_annotations)[source]¶
-
class
deriva.config.annotation_config.
AttrSpecList
(known_attrs, specdict, strict=False)[source]¶ Bases:
deriva.config.base_config.BaseSpecList
-
SPEC_TYPES
= ['catalog_annotations', 'schema_annotations', 'table_annotations', 'column_annotations', 'foreign_key_annotations']¶
-
-
exception
deriva.config.annotation_config.
NoForeignKeyError
[source]¶ Bases:
ValueError
deriva.config.base_config module¶
-
class
deriva.config.base_config.
BaseSpec
(specdict, speclist, spectype, validate_node_types_only=False)[source]¶ Bases:
dict
-
ATTRIBUTE_TYPES
= ['schema', 'table', 'column', 'foreign_key']¶
-
-
class
deriva.config.base_config.
BaseSpecList
(type, dictlist=None, strict=True)[source]¶ Bases:
object
-
class
deriva.config.base_config.
ConfigBaseCLI
(description, epilog, version)[source]¶ Bases:
deriva.core.base_cli.BaseCLI