undid
This commit is contained in:
2
sync.py
2
sync.py
@@ -174,7 +174,6 @@ def process_project(index: int, total: int, project_data: dict, client: Filevine
|
|||||||
cf = dates_and_deadlines.get("dateCaseFiled")
|
cf = dates_and_deadlines.get("dateCaseFiled")
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
print(f"CASE FILED {case_filed_date} {cf}")
|
print(f"CASE FILED {case_filed_date} {cf}")
|
||||||
pprint(dates_and_deadlines)
|
|
||||||
|
|
||||||
# Extract motion hearing dates
|
# Extract motion hearing dates
|
||||||
demurrer_hearing_date = convert_to_pacific_time(dates_and_deadlines.get("demurrerHearingDate")) or ''
|
demurrer_hearing_date = convert_to_pacific_time(dates_and_deadlines.get("demurrerHearingDate")) or ''
|
||||||
@@ -225,6 +224,7 @@ def process_project(index: int, total: int, project_data: dict, client: Filevine
|
|||||||
import itertools
|
import itertools
|
||||||
# valid_property_managers = list(itertools.chain(*))
|
# valid_property_managers = list(itertools.chain(*))
|
||||||
valid_property_managers = [e.get('address').lower() for pm in property_managers if pm and pm.get('emails') for e in pm.get('emails') if e and e.get('address')]
|
valid_property_managers = [e.get('address').lower() for pm in property_managers if pm and pm.get('emails') for e in pm.get('emails') if e and e.get('address')]
|
||||||
|
print(valid_property_managers)
|
||||||
|
|
||||||
|
|
||||||
row = ProjectModel(
|
row = ProjectModel(
|
||||||
|
|||||||
Reference in New Issue
Block a user