Skip to content

from python_thingset.thingset import ThingSet -> from python_thingset import ThingSet#3

Merged
garethpotter merged 3 commits into
mainfrom
refactor-imports
May 29, 2025
Merged

from python_thingset.thingset import ThingSet -> from python_thingset import ThingSet#3
garethpotter merged 3 commits into
mainfrom
refactor-imports

Conversation

@amitchone

Copy link
Copy Markdown
Collaborator

Populates various __init__.py files to treat containing folders as packages, resulting in simplified import paths. This results in a cleaner import at the application layer:

Previously:

from python_thingset.thingset import ThingSet

Now:

from python_thingset import ThingSet

@garethpotter garethpotter merged commit a5e56e8 into main May 29, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants