Repository
AbstractReadOnlyRepository
Bases: ABC
config_repo
instance-attribute
conversation_repo
instance-attribute
messages_repo
instance-attribute
parsed_github_repository
instance-attribute
user_repo
instance-attribute
get_code_chunks_by_pk_id(chunk_ids)
abstractmethod
async
get_config(config_id, expected_type=None)
async
get_conversation(conv_id, fully_loaded=True)
async
get_conversation_messages(conv_id)
async
get_files_by_metadatas(gh_metadatas)
async
get_user_by_pk_id(pk_id)
abstractmethod
async
get_user_conversation_stats(user_id)
abstractmethod
async
get_user_conversations(user_id, with_messages=False)
async
get_user_specific_github_api_key(pk_id)
async
Get the user specific github api key from the users pk_id.
DatabaseReadOnlyRepository
Bases: AbstractReadOnlyRepository