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

Jac Cloud Simple Interface to Purge User DB #1259

Closed
ChrisIsKing opened this issue Sep 9, 2024 · 2 comments · Fixed by #1382
Closed

Jac Cloud Simple Interface to Purge User DB #1259

ChrisIsKing opened this issue Sep 9, 2024 · 2 comments · Fixed by #1382
Assignees
Labels
jac cloud Issues related to the jac-cloud package

Comments

@ChrisIsKing
Copy link
Collaborator

When developing with jac-cloud, over time you may make several changes to the graph of your application. Examples of changes include adding and updating nodes, adding and updating edge relationships, deleting nodes etc. When you make these changes, existing logic may break and you want to start fresh. I'm thinking we can provide three interfaces to purge the graph of a user.

  1. Command Line Interface (CLI) - jac serve purge --token <token>
  2. REST API - POST walkers/purge can be a default walker that purges the graph of the user calling.
  3. Programmatically in jac - jac.purge() or something like that.
@ChrisIsKing ChrisIsKing added the jac cloud Issues related to the jac-cloud package label Sep 9, 2024
@ypkang
Copy link
Contributor

ypkang commented Sep 10, 2024

We could consider introduce the concept of graphs, similar to jaseci 1.

@ypkang
Copy link
Contributor

ypkang commented Oct 15, 2024

Conclusion:

  • Let's add the plugin method and jac CLI support.
  • This should be supported in both jaclang and jac-cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jac cloud Issues related to the jac-cloud package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants