-
Notifications
You must be signed in to change notification settings - Fork 200
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
Avoid app to crash python agent #1385
Avoid app to crash python agent #1385
Conversation
f06a9fa
to
40b6d28
Compare
'zipp', | ||
'urllib3', | ||
'uuid_extensions.uuid7', | ||
'typing_extensions', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these taken from requirements.txt
? If so, maybe it is better to read them from the file or pass them as an argument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Ron,
This file is not exists in the runtime, also it is containing packages names that sometimes are different from the module name that i'm reloading.
e.g -> protobuf (pip install protobuf
) but the module name is google.protobuf
.
I thought about reloading all modules available in sys.modules but it can potentially take time
a28ea94
to
e3d9e9c
Compare
No description provided.