Skip to content

Commit

Permalink
Add pseudo-version to cog compat layer
Browse files Browse the repository at this point in the history
so that `python -c 'import cog;print(cog.__version__)'` does not blow up
and is arguably useful.
  • Loading branch information
meatballhat committed Nov 24, 2024
1 parent ce29259 commit 7369f18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/coglet/_compat/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
Secret,
)

__version__ = '0.11.3+coglet-compat'
__version_tuple__ = (0, 11, 3, '', 'coglet-compat')

__all__ = [
'BaseModel',
'BasePredictor',
'ConcatenateIterator',
'Input',
'Path',
'Secret',
'__version__',
]

0 comments on commit 7369f18

Please sign in to comment.