Skip to content

Commit

Permalink
Make models and family modules to allow importing them
Browse files Browse the repository at this point in the history
  • Loading branch information
lukovdm committed Oct 3, 2024
1 parent f4cd5f7 commit ceb8857
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions paynt/family/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
__version__ = "unknown"

try:
from .._version import __version__
except ImportError:
# We're running in a tree that doesn't have a _version.py, so we don't know what our version is.
pass

def version():
return __version__
10 changes: 10 additions & 0 deletions paynt/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
__version__ = "unknown"

try:
from .._version import __version__
except ImportError:
# We're running in a tree that doesn't have a _version.py, so we don't know what our version is.
pass

def version():
return __version__

0 comments on commit ceb8857

Please sign in to comment.