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

Method on_load

src/memos/plugins/base.py:71–72  ·  view source on GitHub ↗

Called after the plugin is discovered. Used for initialization logic, e.g. checking dependencies, reading config.

(self)

Source from the content-addressed store, hash-verified

69 # ------------------------------------------------------------------ #
70
71 def on_load(self) -> None:
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."""

Callers 1

discoverMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected