…Pythonic impersonation (#970)
feat(fdc): Add `execute_graphql` and `execute_graphql_read` methods and test suite
Implemented the public `execute_graphql` and `execute_graphql_read` methods on the `DataConnect` client, introducing full GraphQL query and mutation execution capabilities for the Firebase Data Connect Python SDK.
Key Changes:
- API Methods: Added `execute_graphql` and `execute_graphql_read` methods to `DataConnect` accepting GraphQL queries, `GraphqlOptions` (variables, operation names, impersonation claims), and optional response types.
- API Client (`_DataConnectApiClient`): Implemented request payload preparation, URL resolution, HTTP POST execution via `JsonHttpClient`, telemetry headers (`X-Firebase-Client`, `x-goog-api-client`, `X-Firebase-Sqlconnect-Affinity`, `X-Client-Version`), and GraphQL response parsing.
- Error Handling: Added `QueryError` exception handling for GraphQL server errors and HTTP error responses.
- Impersonation: Added `Impersonation` class supporting authenticated (`auth_claims`) and unauthenticated request impersonation with constructor validation.
- Unit Testing: Added comprehensive unit test suite in `tests/test_data_connect.py` covering option validation, payload formatting, error handling, and client instantiation.
- Integration Testing: Added end-to-end integration test suite in `integration/test_data_connect.py` running against the Data Connect emulator and production endpoints.