You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the output you can see that "_id" exists in project_data as this condition must pass to proceed to self.set_active_project_by_id(id).
Sorry, misread the code. So id is assigned "inserted_id" from the insert_one response, and then overwritten with _id from project_data. This is unnecessary complicated, see here.
As to why it's failing for you, can you try ph.create_project(name="Test Project", activate=True) from a python shell and post the trace?
The pytest output you posted runs on py39, we are using py310 and py311. All configuration options are defaults, mongo 7.0, pip freeze: pandahub_env.txt
Description
creating a new project without a project id an directly activating it crashes.
What I Did
Output
The text was updated successfully, but these errors were encountered: