Skip to content

Commit

Permalink
Fixing a typo in serializers.rst (apache#44979)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghrajesh authored Dec 17, 2024
1 parent ba331bd commit 266915d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ It does not need to serialize the values in the dict, that will be taken care of
form.

Objects that are not under control of Airflow, e.g. ``numpy.int16`` will need a registered serializer and deserializer.
Versioning is required. Primitives, excluding ``bytes``, can be returned as can dicts. Again ``dict`` values do not need to be serialized,
Versioning is required. Primitives, excluding ``bytes``, can be returned as dicts. Again ``dict`` values do not need to be serialized,
but its keys need to be of primitive form. In case you are implementing a registered serializer, take special care
not to have circular imports. Typically, this can be avoided by using ``str`` for populating the list of serializers.
Like so: ``serializers = ["my.company.Foo"]`` instead of ``serializers = [Foo]``.
Expand Down

0 comments on commit 266915d

Please sign in to comment.