mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 09:07:46 +01:00
9 lines
236 B
Python
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'])
|