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

typeid-python

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeid-python - pypi Package Compare versions

Comparing version
0.3.8
to
0.3.9
+1
-1
PKG-INFO
Metadata-Version: 2.4
Name: typeid-python
Version: 0.3.8
Version: 0.3.9
Classifier: Development Status :: 3 - Alpha

@@ -5,0 +5,0 @@ Classifier: License :: OSI Approved :: MIT License

[project]
name = "typeid-python"
version = "0.3.8"
version = "0.3.9"
description = "Python implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs"

@@ -5,0 +5,0 @@ authors = [{ name = "Murad Akhundov", email = "akhundov1murad@gmail.com" }]

@@ -157,3 +157,3 @@ # This file is automatically @generated by Cargo.

name = "typeid-base32"
version = "0.3.8"
version = "0.3.9"
dependencies = [

@@ -160,0 +160,0 @@ "pyo3",

[package]
name = "typeid-base32"
version = "0.3.8"
version = "0.3.9"
edition = "2021"

@@ -5,0 +5,0 @@

@@ -68,2 +68,3 @@ from dataclasses import dataclass

cls._validate,
json_schema_input_schema=core_schema.str_schema(),
serialization=core_schema.plain_serializer_function_ser_schema(

@@ -77,3 +78,5 @@ lambda v: str(v),

def __get_pydantic_json_schema__(cls, core_schema_: core_schema.CoreSchema, handler: Any) -> JsonSchemaValue:
schema = handler(core_schema_)
# Pass the json_schema_input_schema to the handler instead of the validator function schema
# This allows Pydantic to generate a proper JSON schema from the string type
schema = handler(core_schema_.get("json_schema_input_schema", core_schema_))

@@ -80,0 +83,0 @@ # Ensure JSON schema is "string"