Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-5061

Add an API to extend the bson TypeRegistry

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Python Drivers

      Context

      Currently "Type registries cannot be modified after instantiation." This leads to a situation where if we want to provide an additional codec for an operation, as in pymongoarrow.api.write, we have to discard the TypeRegistry given by the user. We can add an API to extend the type registry to avoid this constraint.

      Definition of done

      Add an API to modify a TypeRegistry to add codecs. We don't yet have a need to remove codecs.

      Pitfalls

      None

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: