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

Change run status to Active / Inactive #1233

Merged
merged 4 commits into from
Feb 16, 2023
Merged

Change run status to Active / Inactive #1233

merged 4 commits into from
Feb 16, 2023

Conversation

shnela
Copy link
Contributor

@shnela shnela commented Feb 15, 2023

No description provided.

@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Base: 71.66% // Head: 71.29% // Decreases project coverage by -0.38% ⚠️

Coverage data is based on head (630ea66) compared to base (199aed6).
Patch coverage: 73.07% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1233      +/-   ##
==========================================
- Coverage   71.66%   71.29%   -0.38%     
==========================================
  Files         280      281       +1     
  Lines       13571    13594      +23     
==========================================
- Hits         9726     9692      -34     
- Misses       3845     3902      +57     
Flag Coverage Δ
e2e ?
unit-pull-request 71.29% <73.07%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/neptune/internal/init/project.py 100.00% <ø> (ø)
src/neptune/internal/utils/run_state.py 66.66% <66.66%> (ø)
.../neptune/internal/backends/neptune_backend_mock.py 85.08% <100.00%> (+46.69%) ⬆️
...e/metadata_containers/metadata_containers_table.py 84.32% <100.00%> (+27.18%) ⬆️
src/neptune/metadata_containers/project.py 88.88% <100.00%> (+0.17%) ⬆️
...eptune/common/websockets/reconnecting_websocket.py 27.77% <0.00%> (-52.78%) ⬇️
...tune/common/websockets/websocket_client_adapter.py 34.78% <0.00%> (-50.01%) ⬇️
...neptune/legacy/internal/utils/alpha_integration.py 41.66% <0.00%> (-45.84%) ⬇️
...ternal/threads/hardware_metric_reporting_thread.py 39.13% <0.00%> (-43.48%) ⬇️
...ernal/websockets/reconnecting_websocket_factory.py 57.14% <0.00%> (-42.86%) ⬇️
... and 152 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

query_items.append(
NQLQueryAggregate(
items=[
NQLQueryAttribute(
name="sys/state",
type=NQLAttributeType.EXPERIMENT_STATE,
operator=NQLAttributeOperator.EQUALS,
value=state,
value=api_state,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about just value=RunState(state).to_api() instead of separate list?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

I've implemented it higher and then moved the code here.

@@ -0,0 +1,45 @@
#
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about moving it directly to metadata_containers_table or to internal subpackage?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@shnela shnela merged commit a22a7d1 into master Feb 16, 2023
@shnela shnela deleted the jk/run-status branch February 16, 2023 12:27
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.

2 participants