- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
PYTHON-5355 Addition of API to move to and from NumPy ndarrays and BSON BinaryVectors #2590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            caseyclements
  wants to merge
  19
  commits into
  mongodb:master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
caseyclements:INTPYTHON-5355-Numpy-Arrays-In-BinaryVectors
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            19 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      797e665
              
                Initial addition of numpy ndarrays to BinaryVector. New tests
              
              
                caseyclements 47fc92c
              
                Updates changelog
              
              
                caseyclements 7882f75
              
                Typing
              
              
                caseyclements b7556fb
              
                Added numpy extra to typing_run
              
              
                caseyclements 5753e3b
              
                Adds numpy.typing.NDArray
              
              
                caseyclements d3407d7
              
                Adds numpy.typing.NDArray
              
              
                caseyclements 9ae90e8
              
                Removed match/case that will have to wait.
              
              
                caseyclements aae159f
              
                Put guard around check involving numpy
              
              
                caseyclements 9fadf97
              
                Moved test_vector_from_numpy to end of vector tests
              
              
                caseyclements 40120e7
              
                Fixed link in BinaryVector docstring
              
              
                caseyclements be06ce7
              
                Tiny adjustment of BinaryVector docstring
              
              
                caseyclements f03b943
              
                Convert Assertion to Value and Type Errors
              
              
                caseyclements 3cc5041
              
                Numpy now lazily imported. For typing, removed numpy extra. justfile …
              
              
                caseyclements e3b894b
              
                Added validation in as_numpy_vector
              
              
                caseyclements 0b0a50b
              
                Merge remote-tracking branch 'origin/master' into INTPYTHON-5355-Nump…
              
              
                caseyclements 10da245
              
                Update bson/binary.py
              
              
                caseyclements 73910ce
              
                PYTHON-5628 - Update the link for help in the documentation (#2602)
              
              
                NoahStapp 8dec0d3
              
                Renamed just target test-bson to test-numpy
              
              
                caseyclements 9420ec1
              
                as_numpy_vector refactored to as_vector(return_numpy=True)
              
              
                caseyclements File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.