mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-11 20:27:50 +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'])
|