We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HashModel Products in declared in inventory/main.py as
class Product(HashModel): name: str price: float quantity: int class Meta: database = redis
This works as intended when accessed within the own file through FastAPI methods and is able to store information and perform CRUD methods.
But when imported and accessed through another file (inventory/debug.py) it's empty.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HashModel Products in declared in inventory/main.py as
This works as intended when accessed within the own file through FastAPI methods and is able to store information and perform CRUD methods.
But when imported and accessed through another file (inventory/debug.py) it's empty.
The text was updated successfully, but these errors were encountered: