19 lines
411 B
Python
19 lines
411 B
Python
import os
|
|
import json
|
|
import sys
|
|
|
|
# Setup Paths
|
|
connector_dir = "/app/connector-superoffice"
|
|
sys.path.append(connector_dir)
|
|
|
|
from superoffice_client import SuperOfficeClient
|
|
|
|
def debug_person(person_id):
|
|
so_client = SuperOfficeClient()
|
|
person = so_client.get_person(person_id)
|
|
print("--- FULL PERSON DATA ---")
|
|
print(json.dumps(person, indent=2))
|
|
|
|
if __name__ == "__main__":
|
|
debug_person(4)
|