Skip to content

Django Tenant Context Missing #1984

Answered by matiasgatti
matiasgatti asked this question in Q&A
Discussion options

You must be logged in to vote

Answer my self:

I was able to save current schema name in message like this:

update.message.current_schema_name = current_schema_name
bot.process_new_messages([update.message])

Then I can get the schema name in def command and use it with: with schema_context

(Now I am having issues with register_next_step on this multibot enviroment)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by matiasgatti
Comment options

You must be logged in to vote
1 reply
@matiasgatti
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants