MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / _apply_updates

Method _apply_updates

astrbot/core/db/sqlite.py:1297–1300  ·  view source on GitHub ↗
(model, **updates)

Source from the content-addressed store, hash-verified

1295
1296 @staticmethod
1297 def _apply_updates(model, **updates) -> None:
1298 for field, value in updates.items():
1299 if value is not None:
1300 setattr(model, field, value)
1301
1302 @staticmethod
1303 def _new_command_config(

Callers 1

_opMethod · 0.95

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected