Skip to content

Conversation

@DarthMax
Copy link
Contributor

@DarthMax DarthMax commented Oct 17, 2025

ref GDSA-75

  • Implement CollapsPath
  • Implement defaults and limits
  • Expose config endpoints in V2
  • Implement logProgress

@netlify
Copy link

netlify bot commented Oct 17, 2025

Deploy Preview for neo4j-graph-data-science-client canceled.

Name Link
🔨 Latest commit 14531e1
🔍 Latest deploy log https://app.netlify.com/projects/neo4j-graph-data-science-client/deploys/691219e8e35dfb0008b5de43



def test_defaults_set_and_list(config_endpoints: ConfigArrowEndpoints) -> None:
config_endpoints.defaults.set("test.key", 6)
Copy link
Contributor

Choose a reason for hiding this comment

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

we should transform snake to camel case for the defaults as the python API shows the snake casing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will only do it for the set endpoints I think

Comment on lines +23 to +28
config_endpoints.defaults.set("test.specific.key", "specific_value")

specific_defaults = config_endpoints.defaults.list(key="test.specific.key")

assert specific_defaults == {"test.specific.key": "specific_value"}

Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: you could test a snake_case field here in these tests

yield job_id


@pytest.mark.skip(reason="Enable when we figure out how to retain jobs")
Copy link
Contributor

Choose a reason for hiding this comment

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

its going against the gds_plugin container here.
you can set gds.progress_tracking_retention_period in the test container to lets say 1H to keep it.
so for the docker setting in t would be `gds_progress__tracking__retention__period

Copy link
Contributor

@FlorentinD FlorentinD left a comment

Choose a reason for hiding this comment

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

only two smaller comments on the testing

@DarthMax DarthMax merged commit 65b3a67 into neo4j:main Nov 11, 2025
7 checks passed
@DarthMax DarthMax deleted the av2_misc_functions branch November 11, 2025 08:32
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