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

Improve implementation of database path relative translations #28

Open
apetkau opened this issue Apr 26, 2021 · 0 comments
Open

Improve implementation of database path relative translations #28

apetkau opened this issue Apr 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@apetkau
Copy link
Owner

apetkau commented Apr 26, 2021

Right now, in order to support moving projects/packaging them up to send to other people, I implemented a very basic method to translate absolute to relative paths when storing files in the database. However, this makes use of a global variable to store the path translator:

database_path_translator: Optional[DatabasePathTranslator] = None

I don't think this is the best implementation method and would like to explore better options later on.

@apetkau apetkau added the enhancement New feature or request label Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant