MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / __init__

Method __init__

googleapiclient/schema.py:74–84  ·  view source on GitHub ↗

Constructor. Args: discovery: object, Deserialized discovery document from which we pull out the named schema.

(self, discovery)

Source from the content-addressed store, hash-verified

72 """Schemas for an API."""
73
74 def __init__(self, discovery):
75 """Constructor.
76
77 Args:
78 discovery: object, Deserialized discovery document from which we pull
79 out the named schema.
80 """
81 self.schemas = discovery.get("schemas", {})
82
83 # Cache of pretty printed schemas.
84 self.pretty = {}
85
86 @util.positional(2)
87 def _prettyPrintByName(self, name, seen=None, dent=0):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected