dhorvath commited on
Commit
8100c53
·
verified ·
1 Parent(s): 672546a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
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()