i am writing some code to write code
and have made up this method
@endpoint(pickle.loads(b""))
def get_device_state(session, id: int) -> bool: ...
so instead of having to write the actual code i can do some implementation in the decorator handling all the edge cases
instead of serializing the meta data of the endpoint i just pickle it and load it from a literal bytes object
and i keep a ~ dummy definition as an interface