You've already forked Travel-Agent
feat: Added edit profile func
This commit is contained in:
@@ -73,6 +73,10 @@ class User(Base):
|
||||
|
||||
return normalized_value
|
||||
|
||||
@classmethod
|
||||
def get_user_queryset_by_telegram_id(cls, telegram_id):
|
||||
return session.query(cls).filter(cls.telegram_id == telegram_id)
|
||||
|
||||
@classmethod
|
||||
def get_user_by_telegram_id(cls, telegram_id):
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user