hyperboria/nexus/actions/golden_postgres.py
the-superpirate 8472f27ec5 No description
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
2021-01-04 18:12:22 +03:00

9 lines
236 B
Python

from nexus.models.proto.scimag_pb2 import Scimag as ScimagPb
from .base import BaseAction
class GoldenPostgresToThinScimagPbAction(BaseAction):
async def do(self, item: dict) -> ScimagPb:
return ScimagPb(doi=item['doi'])