Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_ctx.get return None #47

Open
BespalovSergey opened this issue Jun 14, 2024 · 3 comments
Open

run_ctx.get return None #47

BespalovSergey opened this issue Jun 14, 2024 · 3 comments

Comments

@BespalovSergey
Copy link

Hello. When using caching, we update the event by adding the cache True metadata and taking the event id from run_ctx. After upgrading lunary to version 1.0.32 run_ctx.get returns None and as a result, the event cannot be updated.

@vincelwt
Copy link
Member

@hughcrt

@7HR4IZ3
Copy link

7HR4IZ3 commented Jun 17, 2024

@hughcrt In commit 60105b5 lunary/__init__.py, run_id was being set in line 91, but was removed. Was it moved somewhere else?

@hughcrt
Copy link
Member

hughcrt commented Jun 17, 2024

Hi @BespalovSergey, we've implemented a new way to manage the run contexts, and sorry it breaks your use case. I will investigate this an find a solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants