You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can't import the app code, it could be nice to switch to absolute imports for the optimade.server imports in e.g. main.py so that the file can be easily copied and dropped into other projects, without having to fork optimade-python-tools. This will also make it easier to update to later versions of python-tools too (assuming the app code itself doesn't change much).
As you can't import the app code, it could be nice to switch to absolute imports for the
optimade.server
imports in e.g.main.py
so that the file can be easily copied and dropped into other projects, without having to fork optimade-python-tools. This will also make it easier to update to later versions of python-tools too (assuming the app code itself doesn't change much).e.g.
optimade-python-tools/optimade/server/main.py
Lines 16 to 20 in 8651cd5
would become
from optimade.server.entry_collections import MongoCollection
.Thoughts? Can add good-first-issue tag to this if we think its a good idea.
The text was updated successfully, but these errors were encountered: