Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,13 @@ import json
|
|
| 10 |
import datetime
|
| 11 |
import dateparser
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
settings={
|
| 14 |
"PREFER_DATES_FROM": "future",
|
| 15 |
"RELATIVE_BASE": datetime.datetime.now()
|
|
|
|
| 10 |
import datetime
|
| 11 |
import dateparser
|
| 12 |
|
| 13 |
+
# Monkey patch ApiClient.__del__
|
| 14 |
+
def noop_del(self):
|
| 15 |
+
print("Monkey patched ApiClient.__del__ called. Doing nothing.")
|
| 16 |
+
pass
|
| 17 |
+
|
| 18 |
+
asana.api_client.ApiClient.__del__ = noop_del
|
| 19 |
+
|
| 20 |
settings={
|
| 21 |
"PREFER_DATES_FROM": "future",
|
| 22 |
"RELATIVE_BASE": datetime.datetime.now()
|