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

Update signature of Binary.from_vector to take BinaryVector as single argument

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed

      Context

      This change makes from_vector and as_vector symmetric:

      def Binary.from_vector(BinaryVector) -> Binary
      def Binary.as_vector() -> BinaryVector

      Definition of done

      What must be done to consider the task complete?

      Pitfalls

      What should the implementer watch out for? What are the risks?

            Assignee:
            casey.clements@mongodb.com Casey Clements
            Reporter:
            casey.clements@mongodb.com Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: