MCPcopy Create free account
hub / github.com/ipython/traitlets / __str__

Method __str__

examples/docs/load_config_app.py:31–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 ranking = Int(default_value=1).tag(config=True)
30
31 def __str__(self):
32 return f"The school {self.name} has a rank of {self.ranking}."
33
34
35class MyApp(Application):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected