MCPcopy Create free account
hub / github.com/MemTensor/MemOS / init_app

Method init_app

src/memos/plugins/base.py:74–75  ·  view source on GitHub ↗

Called after FastAPI app is bound. Register routes, middleware, and Hooks via self.register_* here.

(self)

Source from the content-addressed store, hash-verified

72 """Called after the plugin is discovered. Used for initialization logic, e.g. checking dependencies, reading config."""
73
74 def init_app(self) -> None:
75 """Called after FastAPI app is bound. Register routes, middleware, and Hooks via self.register_* here."""
76
77 def init_components(self, context: dict) -> None:
78 """Called during server bootstrap to contribute runtime components."""

Callers 1

server_api.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected