seisnn.sql.Event¶
- class seisnn.sql.Event(event)[source]¶
Bases:
sqlalchemy.orm.decl_api.Base
Event table for sql database.
- __init__(event)¶
A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs
.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
Methods
__init__
(event)A simple constructor that allows initialization from kwargs.
add_db
(session)Add data into session.
Attributes
depth
id
latitude
longitude
metadata
registry
time