PgsqlRegisterTask

Python API summary

from lsst.pipe.tasks.ingestPgsql import PgsqlRegisterTask
classPgsqlRegisterTask(config=None, name=None, parentTask=None, log=None)

Task that will generate the registry for the Mapper...

attributeconfig

Access configuration fields and retargetable subtasks.

See also

See the PgsqlRegisterTask API reference for complete details.

Retargetable subtasks

No subtasks.

Configuration fields

columns

Default
{'object': 'text', 'visit': 'int', 'ccd': 'int', 'filter': 'text', 'date': 'text', 'taiObs': 'text', 'expTime': 'double'}
Field type
DictField
Key type
str
Value type
str
List of columns for raw table, with their types

ignore

Default
False
Field type
bool Field
Ignore duplicates in the table?

permissions

Default
436
Field type
int Field
Permissions mode for registry; 0o664 = rw-rw-r–

table

Default
'raw'
Field type
str Field
Name of table

unique

Default
['visit', 'ccd']
Field type
str ListField
List of columns to be declared unique for the table

visit

Default
['visit', 'object', 'date', 'filter']
Field type
str ListField
List of columns for raw_visit table