neptune-ai / neptune-client

📘 The experiment tracker for foundation model training
https://neptune.ai
Apache License 2.0
580 stars 63 forks source link

Add a super class to handle backend connection for neptune objects #1832

Closed AleksanderWWW closed 4 months ago

AleksanderWWW commented 4 months ago

Before submitting checklist

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 96.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 78.54%. Comparing base (e0fc515) to head (cca131f).

Files Patch % Lines
src/neptune/objects/project.py 94.11% 1 Missing :warning:
src/neptune/objects/utils.py 94.73% 1 Missing :warning:
src/neptune/objects/with_backend.py 96.77% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1832 +/- ## ========================================== - Coverage 80.49% 78.54% -1.95% ========================================== Files 359 218 -141 Lines 19636 9444 -10192 ========================================== - Hits 15806 7418 -8388 + Misses 3830 2026 -1804 ``` | [Flag](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | Coverage Δ | | |---|---|---| | [e2e](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [e2e-management](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [e2e-s3](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [e2e-s3-gcs](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [e2e-standard](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [macos](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `76.82% <96.00%> (-3.43%)` | :arrow_down: | | [py3.10](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [py3.11](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [py3.12](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [py3.7](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [py3.8](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `76.95% <96.00%> (-3.44%)` | :arrow_down: | | [py3.9](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `?` | | | [ubuntu](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `76.82% <96.00%> (-3.43%)` | :arrow_down: | | [unit](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `76.95% <96.00%> (+0.36%)` | :arrow_up: | | [windows](https://app.codecov.io/gh/neptune-ai/neptune-client/pull/1832/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai) | `76.93% <96.00%> (-3.22%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=neptune-ai#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.