Christie Ellks
Christie Ellks
adding conduct_chunked_query and its helper function recursive_query to be able to conduct large queries without overloading Data Commons server. I had tried to add in the tests in chunked_query_test.py to...
- Splits _get_api_key helper into get_gcp_secret and get_api_key. The latter first checks if api key is present as an environment variable and if not, then calls get_gcp_secret to fetch the...
**Fix Date-Dependent Test**: Patched datetime for `test_fetch_highest_coverage_with_entities_single_variable` in `server/tests/lib/util_test.py` to freeze the date to 2025-01-01. This ensures 2021 test data remains within the 5-year "recent" window check, preventing data age-out...
Context: https://github.com/datacommonsorg/agent-toolkit/pull/55/files/cd3e5786aa04f47baef47c265ba079c1df0f6f8e#r2349599413 * Custom Nodes might not have `name` set: * Base Nodes have both `name` and `dcid`: So we should read typeOf from dcid and not name. Tested locally...