adds target-exchange and initial migrations
This commit is contained in:
8
api/target_exchange/serializers.py
Normal file
8
api/target_exchange/serializers.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from marshmallow import Schema, fields
|
||||
|
||||
class TargetExchangeSchema(Schema):
|
||||
id = fields.Int()
|
||||
name = fields.Str()
|
||||
|
||||
target_exchange_schema = TargetExchangeSchema()
|
||||
target_exchanges_schema = TargetExchangeSchema(many=True)
|
||||
Reference in New Issue
Block a user