(
method: str, url: str, token: str, project: str
)
| 71 | |
| 72 | |
| 73 | def biglake_request( |
| 74 | method: str, url: str, token: str, project: str |
| 75 | ) -> urllib.request.Request: |
| 76 | return urllib.request.Request( |
| 77 | url, |
| 78 | method=method, |
| 79 | headers={ |
| 80 | "Authorization": f"Bearer {token}", |
| 81 | "x-goog-user-project": project, |
| 82 | }, |
| 83 | ) |
| 84 | |
| 85 | |
| 86 | def ensure_catalog(token: str, project: str, bucket: str) -> None: |
no outgoing calls
no test coverage detected