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

Removing instantiations from flowcept.commons.__init__ #174

Merged
merged 10 commits into from
Nov 27, 2024
Merged

Conversation

renan-souza
Copy link
Collaborator

@renan-souza renan-souza commented Nov 27, 2024

  • Removed FlowceptLogger and BaseInterceptor(kind="instrumentation") from flowcept.commons/__init__.py. This was statically instantiating loggers and interceptors unnecessarily just because a user imported flowcept.
  • Added more asserts to dask example and moved simple_instrumented_script.py to the root level examples folder.
  • Added a couple of more makefile commands and used them in the CI tests.
  • Added CI tests on py311

FYI: @wigging

renan-souza and others added 9 commits November 25, 2024 17:06
- Instantiating objects in a static way in __init__.py files was creating other bad issues and making it harder to make Flowcept optional once you import it in one's code. This commit is mostly to address this.
- Creating new commands in the Makefile and using it in the CI tests.
- Adding more asserts in the dask example
@renan-souza renan-souza self-assigned this Nov 27, 2024
@renan-souza renan-souza marked this pull request as draft November 27, 2024 03:06
@renan-souza renan-souza marked this pull request as ready for review November 27, 2024 03:52
@renan-souza renan-souza merged commit 0853840 into dev Nov 27, 2024
4 checks passed
@renan-souza renan-souza deleted the bugfix branch November 27, 2024 03:52
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.

1 participant