notes.toggl#
Toggl events.
Derived from https://gist.github.com/blakeNaccarato/8e114a7216da6ce7f7882fd77ab8c5cd
Module Contents#
Classes#
Entries. |
|
Preferences. |
Functions#
API#
- notes.toggl.IdField()#
Field as it is named in the database. Allows the SQLModel field name to vary.
- notes.toggl.DbField( )#
Field as it is named in the database. Allows the SQLModel field name to vary.
- class notes.toggl.Entry(
- **data: Any,
Bases:
sqlmodel.SQLModelEntries.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- __tablename__#
‘TimeEntries’
- class notes.toggl.Preferences(
- **data: Any,
Bases:
sqlmodel.SQLModelPreferences.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.