• Type: Epic
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • gRPC POC phase 1
    • Python Drivers
    • None
    • Done
    • 6
    • 1
    • 6
    • 100
    • 0
    • None
    • None
    • Hide

      Engineer: Noah

      2023-07-21: Setting initial target end date to 2023-08-25

      Status Update:

      • Implemented gRPC connections in the driver. Going through the test suite to verify that the tests all behave as expected with the POC

      Show
      Engineer: Noah 2023-07-21: Setting initial target end date to 2023-08-25 Status Update: Implemented gRPC connections in the driver. Going through the test suite to verify that the tests all behave as expected with the POC
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Usage instructions:

      1. Checkout the grpc branch of PyMongo

      2. In your local PyMongo repository, run python -m build --wheel . and then pip install <built wheel location> --force-reinstall

      3. At the top of your Python file, put the following:

      import pkg_resources
      pkg_resources.require("pymongo==4.5.0.dev0")
      
      import pymongo
       

       4. To create a gRPC-enabled PyMongo connection, use MongoClient(grpc=True) 

      5. Refer to test/grpc_example.py in the PyMongo repo for a basic example of gRPC usage

            Assignee:
            Noah Stapp
            Reporter:
            Tom Selander
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 week, 1 day
              None
              None
              None
              None