Skip to content

Commit b1ab3b7

Browse files
author
Raphael Krupinski
committed
⚰️ Remove support for response post-processing.
1 parent bfbfde3 commit b1ab3b7

File tree

1 file changed

+0
-5
lines changed
  • src/lapidary/runtime/model

1 file changed

+0
-5
lines changed

src/lapidary/runtime/model/op.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ def handle_response(self, response: httpx.Response) -> typing.Any:
4545

4646
obj: typing.Any = parse_model(response, typ)
4747

48-
if '__metadata__' in dir(typ):
49-
for anno in typ.__metadata__: # type: ignore[attr-defined]
50-
if callable(anno):
51-
obj = anno(obj)
52-
5348
if isinstance(obj, Exception):
5449
raise obj
5550
else:

0 commit comments

Comments
 (0)