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
with data_access.open_database()
muids = data_access.get_muid_where("msm_Link", "MUID='link_test'")
...
# db connection is closed at the end of the with block
mikepluspy/tests/test_datatable.py
Line 16 in 024977c
Instead of:
it will be
Closing databases is typically done with automatically with a context manager.
https://realpython.com/python-with-statement/#the-with-statement-approach
Equivalent to
using
in C# https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/usingThe text was updated successfully, but these errors were encountered: