New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

docarray

Package Overview
Dependencies
Maintainers
1
Versions
741
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docarray - pypi Package Compare versions

Comparing version
0.39.2.dev8
to
0.39.2.dev9
+1
-1
docarray/__init__.py

@@ -1,2 +0,2 @@

__version__ = '0.39.2.dev8'
__version__ = '0.39.2.dev9'

@@ -3,0 +3,0 @@ import logging

@@ -0,1 +1,2 @@

import sys
import random

@@ -32,2 +33,5 @@ from abc import abstractmethod

if sys.version_info >= (3, 12):
from types import GenericAlias
T = TypeVar('T', bound='AnyDocArray')

@@ -55,4 +59,8 @@ T_doc = TypeVar('T_doc', bound=BaseDocWithoutId)

if not isinstance(item, type):
return Generic.__class_getitem__.__func__(cls, item) # type: ignore
# this do nothing that checking that item is valid type var or str
if sys.version_info < (3, 12):
return Generic.__class_getitem__.__func__(cls, item) # type: ignore
# this do nothing that checking that item is valid type var or str
# Keep the approach in #1147 to be compatible with lower versions of Python.
else:
return GenericAlias(cls, item) # type: ignore
if not safe_issubclass(item, BaseDocWithoutId):

@@ -59,0 +67,0 @@ raise ValueError(

Metadata-Version: 2.1
Name: docarray
Version: 0.39.2.dev8
Version: 0.39.2.dev9
Summary: The data structure for multimodal data

@@ -5,0 +5,0 @@ Home-page: https://docs.docarray.org/

[tool.poetry]
name = "docarray"
version = '0.39.2.dev8'
version = '0.39.2.dev9'
description='The data structure for multimodal data'

@@ -5,0 +5,0 @@ readme = 'README.md'