from aiohttp_rest_framework import fields
from aiohttp_rest_framework.serializers import ModelSerializer
from tests.test_app.sa.orm import models


class UserSerializer(ModelSerializer):
    password = fields.Str(load_only=True, required=False)
    company_id = fields.Str(required=False)

    class Meta:
        model = models.User
        fields = "__all__"
        dump_only = ("created_at",)

31a4f577cf796d3acd36620e50e06b6245bff57b
<mask token>

<mask token>


class UserSerializer(ModelSerializer):
    <mask token>
    <mask token>


    class Meta:
        model = models.User
        fields = '__all__'
        dump_only = 'created_at',

<mask token>


class UserSerializer(ModelSerializer):
    password = fields.Str(load_only=True, required=False)
    company_id = fields.Str(required=False)


    class Meta:
        model = models.User
        fields = '__all__'
        dump_only = 'created_at',

from aiohttp_rest_framework import fields
from aiohttp_rest_framework.serializers import ModelSerializer
from tests.test_app.sa.orm import models


class UserSerializer(ModelSerializer):
    password = fields.Str(load_only=True, required=False)
    company_id = fields.Str(required=False)


    class Meta:
        model = models.User
        fields = '__all__'
        dump_only = 'created_at',

from aiohttp_rest_framework import fields
from aiohttp_rest_framework.serializers import ModelSerializer
from tests.test_app.sa.orm import models


class UserSerializer(ModelSerializer):
    password = fields.Str(load_only=True, required=False)
    company_id = fields.Str(required=False)

    class Meta:
        model = models.User
        fields = "__all__"
        dump_only = ("created_at",)
