Skip to content

Add %create_graph_snapshot line magic #653

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

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Conversation

michaelnchin
Copy link
Member

Issue #, if available: #651

Description of changes:

  • Added a new %create_graph_snapshot for Neptune Analytics. This magic interfaces with the CreateGraphSnapshot API, the supported parameters of which can be passed via optional line arguments:
    • -s/--snapshot-name: Sets the snapShot string parameter. If not supplied, the notebook will automatically create and use a name in the format snapshot-[graph_id]-[timestamp].
    • -t/--tags: Sets the tags parameter. Accepts a map in string format, ex. {"tag1":"foo","tag2":"bar"}.

Example usage:
Screenshot 2024-07-17 at 5 25 21 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@michaelnchin michaelnchin marked this pull request as ready for review July 19, 2024 00:43
@michaelnchin michaelnchin merged commit ba227ec into main Jul 19, 2024
3 checks passed
@michaelnchin michaelnchin deleted the create-snapshot-magic branch July 19, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Resolved
Development

Successfully merging this pull request may close these issues.

1 participant