-
Notifications
You must be signed in to change notification settings - Fork 474
Glossary
Please keep these glossary entries in alphabetical order within each section.
The saved result of a training session, model run or other computation. Artifacts may be very large.
A Listener that also sends messages to its target.
A "software switch" (i.e. a boolean) that can be turned on and off repeatedly to enable or disable a software component. Compare start/stop
The types are:
- JSON: "What json.dump accepts."
None
,bool
,Number
,str
, combined withlist
and string-keyeddict
s. - Dicty: like JSON except the leaves can be of any type
- BSON
- Document: our
Document
type
and corresponding to them, four verb and four Python methods
- jsonize,
.to_json()
- dictize,
.to_dict()
- bsonize,
.to_bson()
- docize,
.to_doc()
A Python object is JSONable if
- It is a Pydantic class, and
- if its
.dict()
value can be converted to JSON.
A Listener passively accepts events from its target, and then stores or processes them.
A class is "Pydantic" if
- It's derived from
superduperdb.JSONable
which is derived frompydantic.BaseModel
, or - It's a
pydantic
data class, or equivalently, asuperduperdb.misc.dataclasses
dataclass
A start/stop object may be started at most once, and not restarted, and can also become stopped without stop()
ever being called. Compare enable/disable.
A type_id
is a static class member that uniquely represents a class.
We use them in two places: for discriminated unions in Pydantic, and in distinguishing classes derived from Component
.
TBD