Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Dec 11, 2024
1 parent dbe77f4 commit 7d074e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions brewtils/schema_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import six # type: ignore
from box import Box # type: ignore
from marshmallow import ValidationError

import brewtils.models
import brewtils.schemas
Expand Down Expand Up @@ -561,9 +560,8 @@ def parse(
schema = getattr(brewtils.schemas, model_class.schema)(**kwargs)

schema.context["models"] = cls._models

return schema.loads(data) if from_string else schema.load(data)


# Serialization methods
@classmethod
Expand Down

0 comments on commit 7d074e1

Please sign in to comment.