Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add compute_kwargs to `Component` and `Job`
- Propagate errors from `Job` upwards through `Component` hierarchy
- Handle deletion in progress with status updates
- Add postprocess in Template

#### New Features & Functionality

Expand Down
1 change: 1 addition & 0 deletions superduper/base/datatype.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ class _DatatypeLookup:
FieldType('float'),
FieldType('bool'),
FieldType('date'),
FieldType('timestamp'),
FieldType('ID'),
]
}
Expand Down
2 changes: 2 additions & 0 deletions superduper/components/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Template(Component):
:param substitutions: dict of substitutions to be made in the template.
:param requirements: pip requirements for the template.
:param default_tables: Default table to be used with the template.
:param postprocess: Postprocess to be applied to the template.
"""

template: st.JSON
Expand All @@ -39,6 +40,7 @@ class Template(Component):
substitutions: dc.InitVar[t.Optional[t.Dict]] = None
requirements: t.List[str] | None = None
default_tables: t.List[Table] | None = None
postprocess: Component | None = None

def __post_init__(self, db, substitutions):
self.substitutions = substitutions
Expand Down
Loading