Changed operator for contact subtype to "contains"
When it was "=" it didn't get ones with multiple subtypes.
Этот коммит содержится в:
@ -241,7 +241,7 @@ def main() -> int:
|
||||
|
||||
# dump org contacts
|
||||
output = args.output / ("Contact.json")
|
||||
data = api.get("Contact", where=[["contact_sub_type", "=", "Political_Party"]])
|
||||
data = api.get("Contact", where=[["contact_sub_type", "CONTAINS", "Political_Party"]])
|
||||
if data:
|
||||
print("dumping parties")
|
||||
with output.open("w") as of:
|
||||
|
Ссылка в новой задаче
Block a user