ramp_database.tools.event
.get_keyword_by_name¶
-
ramp_database.tools.event.
get_keyword_by_name
(session, name)¶ Get the keyword filtering by there name
- Parameters
- session
sqlalchemy.orm.Session
The session to directly perform the operation on the database.
- namestr or None
The name of the keyword. If None, all keywords will be returned.
- session
- Returns
- keyword
ramp_database.model.Keyword
or list oframp.model.Keyword
The keyword which have been queried.
- keyword