There is a problem when I am trying to extract “Weekly Pattern” using Places API through Python. The error shows “exceptions must derive from BaseException”. I am wondering which step I missed. Below is my sample code:
can you try specifying the specific columns to see if that works. this may be due to * include all columns including columns that are not available to weekly_patterns (e.g. brands)
from safegraphql import client
sgql_client = client.HTTP_Client("Rnccqb52cd3ny1Ke0D3RQasD86JjctWg")
pk = 'zzw-222@8fy-fjg-b8v' # Disney World
core = sgql_client.lookup(product = 'weekly_patterns', placekeys = pk, date="2020-09-01", columns = ['placekey', 'location_name', 'raw_visit_counts'])
core