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

How to activate LogicBank in flask application? #7

Open
sylvoslee opened this issue Mar 8, 2022 · 1 comment
Open

How to activate LogicBank in flask application? #7

sylvoslee opened this issue Mar 8, 2022 · 1 comment

Comments

@sylvoslee
Copy link

Added the following statement, but it seems to have no effect

LogicBank.activate(session=session, activator=declare_logic)
@valhuber
Copy link
Owner

valhuber commented Mar 8, 2022

Hi, @sylvoslee

Thanks for the request. Couple of things:

  1. Activating logic does not run it - that only happens later when you commit. You should see evidence of this in the console log. See the sequence of events, here
  2. You may already have an existing project. But if this is a new project, I highly recommend ApiLogicServer. It does all the wiring for you to activate logic, plus creates an instant API and Admin web app.

If you still have questions, you may need to show some of your code, and the console log.

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

2 participants