nest_backend.database.tables package
Submodules
nest_backend.database.tables.Alert module
This module defines the Alert database class.
-
class
nest_backend.database.tables.Alert.
Alert
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
id
-
limit
-
name
-
notifications
-
operations
-
repository
-
repository_id
-
window_size
nest_backend.database.tables.Authorization module
This module defines the Authorization database class.
-
class
nest_backend.database.tables.Authorization.
Authorization
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
email
-
repository
-
rid
-
user
nest_backend.database.tables.BoolOperation module
This module defines the BoolOperation database class.
-
class
nest_backend.database.tables.BoolOperation.
BoolOperation
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
alert
-
alert_id
-
condition
-
condition_id
-
father_1
-
father_2
-
id
-
isRoot
-
node_1
-
node_1_id
-
node_2
-
node_2_id
-
operation
nest_backend.database.tables.Composed module
This module defines the Composed database class.
-
class
nest_backend.database.tables.Composed.
Composed
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
repository
-
rid
-
snowflake
nest_backend.database.tables.Condition module
This module defines the Condition database class.
-
class
nest_backend.database.tables.Condition.
Condition
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
content
-
id
-
operations
-
type
-
used
nest_backend.database.tables.Contains module
This module defines the Contains database class.
-
class
nest_backend.database.tables.Contains.
Contains
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
cid
-
condition
-
snowflake
nest_backend.database.tables.Enums module
This module contains the main enum definitions.
-
class
nest_backend.database.tables.Enums.
ConditionType
(value)
Bases: enum.Enum
An enumeration.
-
hashtag
= 0
-
location
= 1
-
time
= 2
-
class
nest_backend.database.tables.Enums.
OperationType
(value)
Bases: enum.Enum
An enumeration.
-
assign
= 3
nest_backend.database.tables.Notification module
This module defines the Notification database class.
-
class
nest_backend.database.tables.Notification.
Notification
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
alert
-
alert_id
-
id
-
ora
nest_backend.database.tables.Repository module
This module defines the Repository database class.
-
class
nest_backend.database.tables.Repository.
Repository
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
alerts
-
authorizations
-
end
-
id
-
isActive
-
name
-
owner
-
owner_id
-
start
-
to_json
()
-
uses
nest_backend.database.tables.User module
This module defines the User database class.
-
class
nest_backend.database.tables.User.
User
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
authorizations
-
email
-
isAdmin
-
owner_of
-
password
-
to_json
()
-
username
nest_backend.database.tables.Uses module
This module defines the Uses database class.
-
class
nest_backend.database.tables.Uses.
Uses
(**kwargs)
Bases: sqlalchemy.orm.decl_api.Model
-
cid
-
condition
-
repository
-
rid
Module contents
This module contains all database classes.