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

Determining the repository path from a model repository #69

Open
greg-wiltshire opened this issue Sep 10, 2021 · 0 comments
Open

Determining the repository path from a model repository #69

greg-wiltshire opened this issue Sep 10, 2021 · 0 comments

Comments

@greg-wiltshire
Copy link
Contributor

Currently it is possible to look at the python code repository file tree to determine the location of the root init.py file and use this to set the repository path and entry point of a model.

However according to this post it is no longer needed in Python 3.3+. This means that there will be no method to extract the repository path and entry point of a model.

The issue is to ensure that the repository path and entry point will work both for Python 3.3+ and before. For example if an installation is using Python 3.3 and no init.py file exists to denote the root Python package directory can the repository path be set to null and the entry point to the full path to the .py file (with the class).

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

1 participant