MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / biglake_request

Function biglake_request

misc/python/materialize/biglake.py:73–83  ·  view source on GitHub ↗
(
    method: str, url: str, token: str, project: str
)

Source from the content-addressed store, hash-verified

71
72
73def 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
86def ensure_catalog(token: str, project: str, bucket: str) -> None:

Callers 6

_verify_sink_committedFunction · 0.90
_delete_biglakeFunction · 0.90
_paginated_getFunction · 0.90
ensure_catalogFunction · 0.85
resolve_warehouse_prefixFunction · 0.85
create_namespaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected