MCPcopy Create free account
hub / github.com/hugapi/hug / from_object

Function from_object

hug/api.py:645–647  ·  view source on GitHub ↗

Returns a Hug API instance from a given object (function, class, instance)

(obj)

Source from the content-addressed store, hash-verified

643
644
645def from_object(obj):
646 """Returns a Hug API instance from a given object (function, class, instance)"""
647 return API(obj.__module__)

Callers

nothing calls this directly

Calls 1

APIClass · 0.70

Tested by

no test coverage detected