-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Motor adds it's own DriverInfo like this:
def __init__(self, *args, **kwargs): ... kwargs.setdefault( "driver", DriverInfo("Motor", motor_version, self._framework.platform_info()) )
Which will show up in metadata like this:
'driver': { 'name': 'PyMongo|Motor', 'version': '4.6.0|3.1.1', },
This means that if the app supplies its own DriverInfo, then it will replace Motor's:
client = AsyncIOMotorClient(driver=DriverInfo(name="MyLibrary", version="1.0"))
will yield:
'driver': { 'name': 'PyMongo|MyLibrary', 'version': '4.6.0|1.0', },
In this ticket we should change the above to produce:
'driver': { 'name': 'PyMongo|Motor|MyLibrary', 'version': '4.6.0|3.1.1|1.0', },
- is depended on by
-
PYTHON-4036 Microsoft Semantic Kernel: Add Wrapping Library Metadata to Vector Embeddings Integrations
- Closed
- is related to
-
PYTHON-4034 LangChain: Add Wrapping Library Metadata to Vector Embeddings Integrations
- Closed
-
PYTHON-4035 LlamaIndex: Add Wrapping Library Metadata to Vector Embeddings Integrations
- Closed
-
PYTHON-4036 Microsoft Semantic Kernel: Add Wrapping Library Metadata to Vector Embeddings Integrations
- Closed