<filename>authz/serializers/workspace_user.py<gh_stars>0
from marshmallow import fields

from . import marshmallow
from .user import UserSerializer


class WorkspaceUserSerializer(marshmallow.ModelSchema):

    workspace_id = fields.UUID()
    permissions = fields.List(fields.String)
    user = fields.Nested(UserSerializer)

<filename>authz/serializers/workspace_user.py<gh_stars>0
from marshmallow import fields

from . import marshmallow
from .user import UserSerializer


class WorkspaceUserSerializer(marshmallow.ModelSchema):

    workspace_id = fields.UUID()
    permissions = fields.List(fields.String)
    user = fields.Nested(UserSerializer)
