Skip to content

Commit

Permalink
Refactored client class.
Browse files Browse the repository at this point in the history
  • Loading branch information
senthurayyappan committed Oct 7, 2024
1 parent ae06c3b commit 1a98f08
Show file tree
Hide file tree
Showing 10 changed files with 767 additions and 572 deletions.
14 changes: 14 additions & 0 deletions onshape_api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from importlib import metadata as importlib_metadata


def get_version() -> str:
try:
return importlib_metadata.version(__name__)
except importlib_metadata.PackageNotFoundError: # pragma: no cover
return "unknown"


__version__: str = get_version()

from onshape_api.connection import * # noqa: F403 E402
from onshape_api.utilities import * # noqa: F403 E402
234 changes: 0 additions & 234 deletions onshape_api/client.py

This file was deleted.

Loading

0 comments on commit 1a98f08

Please sign in to comment.