Problemunvalidated
the problem is, in fastapi/docs, when I test this endpoint, it returns {}, but the data is commited in database. — I have this function and others similars (with the same problem):. Tension: If I put a print(obj_update) BEFORE return statement, the endpoint returns the data correctly. Outcome: Why is my code being affected by print statement and how can I fix this without need to put print(obj_update)?
8f0df57e-2382-4b5f-9f7f-9c7097dd6dfa
the problem is, in fastapi/docs, when I test this endpoint, it returns {}, but the data is commited in database. — I have this function and others similars (with the same problem):. Tension: If I put a print(obj_update) BEFORE return statement, the endpoint returns the data correctly. Outcome: Why is my code being affected by print statement and how can I fix this without need to put print(obj_update)?