API
- class materializationengine.blueprints.materialize.api.ActiveTasksResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.AnnotationResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.BulkUploadResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- post(datastack_name: str, table_name: str, segmentation_source: str, description: str)[source]
Run bulk upload from npy files
- Parameters:
column_mappings (dict) – dict mapping file names to column names in database
project (str) – bucket project path
file_path (str) – bucket project path
schema (str) – type of schema from emannotationschemas
datastack_name (str) – name of datastack from infoservice
table_name (str) – name of table in database to create
segmentation_source (str) – source of segmentation data
description (str) – text field added to annotation metadata table for reference
- class materializationengine.blueprints.materialize.api.CeleryResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.CompleteWorkflowResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.CreateFrozenMaterializationResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.CreateVirtualPublicVersionResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.DatasetResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.InsertMissingChunks(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- post(datastack_name: str, table_name: str, segmentation_source: str, description: str)[source]
Insert missing chunks of data into database
- Parameters:
chunks (list) – list mapping file names to column names in database
datastack_name (str) – name of datastack from infoservice
table_name (str) – name of table in database to create
segmentation_source (str) – source of segmentation data
description (str) – text field added to annotation metadata table for reference
- class materializationengine.blueprints.materialize.api.LockedTasksResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET', 'PUT'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.LookupDenseMissingRootIdsResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.LookupSparseMissingRootIdsResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.ProcessNewAnnotationsResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.ProcessNewAnnotationsTableResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.ProcessNewSVIDResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.QueueResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.SetBadRootsToNullResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.TableResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'GET'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.TestWorkflowResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.UpdateExpiredRootIdsResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.
- class materializationengine.blueprints.materialize.api.UpdateLiveDatabaseResource(api=None, *args, **kwargs)[source]
Bases:
Resource- methods: Optional[List[str]] = {'POST'}
A list of methods this view can handle.