Skip to content

Commit

Permalink
Revert changes to DummyDescriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
judahrand committed Aug 18, 2023
1 parent d8c5ad4 commit 370c324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/_internal/io/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def sync_from_http_request(self, request: t.Any) -> t.Any:
async def to_http_response(self, obj: t.Any, ctx: Context | None = None) -> t.Any:
return obj, ctx

def sync_from_proto(self, field: t.Any) -> t.Any:
async def from_proto(self, field: t.Any) -> t.Any:
return field

def sync_to_proto(self, obj: t.Any) -> t.Any:
async def to_proto(self, obj: t.Any) -> t.Any:
return obj

def _from_sample(self, sample: t.Any):
Expand Down

0 comments on commit 370c324

Please sign in to comment.