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

quest api setup/teardown #548

Open
robnagler opened this issue Jan 25, 2025 · 0 comments
Open

quest api setup/teardown #548

robnagler opened this issue Jan 25, 2025 · 0 comments

Comments

@robnagler
Copy link
Member

  • setup and teardown of quests is important, especially when there's shared state.
  • allow setup to change the arguments passed to the apis. The example is slicops which wants context to be passed in, since the field_value is implicit
  • quest api needs api_name saved on self (qcall)
  • setup/teardown can change api_name
  • should it be possible to have apis that are prefixed by a module name, e.g. from slicops screen.camera. This might make it harder to search for. The flat name space has advantages, but that means api's need prefixes for their module name. Perhaps api_module could be passed to allow disambiguating. http server would need to fixed to support/require this when there are collisions.
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

No branches or pull requests

1 participant