ramp_database.tools.user.get_team_by_name¶
-
ramp_database.tools.user.get_team_by_name(session, name)¶ Get a team by its name.
- Parameters
- session
sqlalchemy.orm.Session The session to directly perform the operation on the database.
- namestr or None
The name of the team. If None, all teams will be queried.
- session
- Returns
- team
ramp_database.model.Teamor list oframp_database.model.Team The queried team.
- team