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

[Enhancement] Add a strict naming rule for graph names #1044

Merged
merged 10 commits into from
Sep 26, 2024

Conversation

classicsong
Copy link
Contributor

Issue #, if available:
#957

Description of changes:
The graph name must adhere to the Python identifier naming rules, with one exception that hyphens (-) are permitted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@classicsong classicsong added enhancement New feature or request ready able to trigger the CI 0.4 labels Sep 26, 2024
@classicsong classicsong added this to the 0.4 release milestone Sep 26, 2024
python/graphstorm/utils.py Outdated Show resolved Hide resolved
tests/unit-tests/test_gsf.py Outdated Show resolved Hide resolved
Copy link
Contributor

@thvasilo thvasilo left a comment

Choose a reason for hiding this comment

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

LGTM now, small comments to add a couple of examples.

@classicsong classicsong merged commit 94862ae into awslabs:main Sep 26, 2024
10 checks passed
@classicsong classicsong deleted the graph-name branch September 26, 2024 23:24
thvasilo added a commit that referenced this pull request Oct 1, 2024
*Issue #, if available:*

*Description of changes:*

* GSProcessing makes providing a graph name optional. After
#1044 we were checking the
graph name before we filled in default values.
* We now provide a default value before the name validity check.
* Added some tests to check various graph naming cases.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.4 enhancement New feature or request ready able to trigger the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants