Bulk Registration¶
RegistrationModel¶
dsgrid.config.registration_models.RegistrationModel
Defines a list of projects and datasets to be registered.
Fields¶
Name |
Type |
Default |
Description |
|---|---|---|---|
|
list[ProjectRegistrationModel] |
(required) |
List of projects to register. |
|
list[DatasetRegistrationModel] |
(required) |
List of datasets to register. |
|
list[DatasetSubmissionModel] |
(required) |
List of datasets to be submitted to projects. |
DatasetRegistrationModel¶
dsgrid.config.registration_models.DatasetRegistrationModel
Defines a dataset to be registered.
Fields¶
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
(required) |
Dataset ID |
|
|
(required) |
Path to dataset.json5 |
|
|
|
Replace the dimension entries with IDs of dimensions in the database with matching names. Typically only useful for tests. |
|
|
|
Log message to use when registering the dataset. Defaults to an auto-generated message. |
Validators¶
Name |
Applies To |
Description |
|---|---|---|
|
|
No description |
|
|
No description |
DatasetSubmissionModel¶
dsgrid.config.registration_models.DatasetSubmissionModel
Defines how a dataset should be submitted to a project.
Fields¶
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
(required) |
|
|
|
(required) |
|
|
|
|
Path to file containing mappings of dataset-to-project dimensions |
|
|
|
Path to file containing references to mappings of dataset-to-project dimensions |
|
|
|
Replace the dimension mapping entries with IDs of dimension mappings in the database with matching names. Typically only useful for tests. |
|
|
|
Dimensions on which to attempt create reverse mappings from supplemental dimensions. |
|
|
|
Log message to use when submitting the dataset. Defaults to an auto-generated message. |
Validators¶
Name |
Applies To |
Description |
|---|---|---|
|
|
No description |
|
|
No description |
ProjectRegistrationModel¶
dsgrid.config.registration_models.ProjectRegistrationModel
Defines a project to be registered.
Fields¶
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
(required) |
Project ID |
|
|
(required) |
Path to project.json5 |
|
|
|
Log message to use when registering the project. Defaults to an auto-generated message. |
Validators¶
Name |
Applies To |
Description |
|---|---|---|
|
|
No description |
|
|
No description |