MCPcopy Create free account
hub / github.com/google-research/language / __init__

Method __init__

language/canine/config_utils_test.py:30–45  ·  view source on GitHub ↗
(
      self,
      hello="world",
      one=1,
      truthy=False,
      nested_thing="not_actually_nested",
      nested=SimpleInnerConfigObject(),
      deprecated_feature="",
  )

Source from the content-addressed store, hash-verified

28class SimpleConfigObject(config_utils.Config):
29
30 def __init__(
31 self,
32 hello="world",
33 one=1,
34 truthy=False,
35 nested_thing="not_actually_nested",
36 nested=SimpleInnerConfigObject(),
37 deprecated_feature="",
38 ):
39 self.hello = hello
40 self.one = one
41 self.truthy = truthy
42 self.nested_thing = nested_thing
43 self.nested = nested
44 self._private = object() # Unserializable by JSON.
45 self.deprecated_feature = "x" # Deserializable from 'feature'.
46
47
48class UsesProperties(config_utils.Config):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected