Typedspark

Latest version: v1.5.0

Safety actively analyzes 688619 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

1.0.7

This release provides autocomplete for structtype columns, for example:

python
from pyspark.sql import SparkSession
from pyspark.sql.types import IntegerType
from typedspark import Column, Schema
from typedspark._core.datatypes import StructType

spark = SparkSession.builder.getOrCreate()

class A(Schema):
a: Column[IntegerType]

class B(Schema):
a: Column[IntegerType]
b: Column[StructType[A]]

B.b.dtype.schema.a


What's Changed
* Bump pandas-stubs from 2.0.1.230501 to 2.0.2.230605 by dependabot in https://github.com/kaiko-ai/typedspark/pull/73
* Bump docformatter from 1.7.1 to 1.7.2 by dependabot in https://github.com/kaiko-ai/typedspark/pull/76
* Bump sphinx-rtd-theme from 1.2.1 to 1.2.2 by dependabot in https://github.com/kaiko-ai/typedspark/pull/75
* Bump pyright from 1.1.311 to 1.1.313 by dependabot in https://github.com/kaiko-ai/typedspark/pull/77
* Bump pytest from 7.3.1 to 7.3.2 by dependabot in https://github.com/kaiko-ai/typedspark/pull/78
* Bump pyright from 1.1.313 to 1.1.314 by dependabot in https://github.com/kaiko-ai/typedspark/pull/79
* Bump mypy from 1.3.0 to 1.4.0 by dependabot in https://github.com/kaiko-ai/typedspark/pull/81
* Bump pyright from 1.1.314 to 1.1.315 by dependabot in https://github.com/kaiko-ai/typedspark/pull/80
* Bump pyspark from 3.4.0 to 3.4.1 by dependabot in https://github.com/kaiko-ai/typedspark/pull/83
* Bump pytest from 7.3.2 to 7.4.0 by dependabot in https://github.com/kaiko-ai/typedspark/pull/84
* Bump docformatter from 1.7.2 to 1.7.3 by dependabot in https://github.com/kaiko-ai/typedspark/pull/85
* Autocomplete structtypes by nanne-aben in https://github.com/kaiko-ai/typedspark/pull/72


**Full Changelog**: https://github.com/kaiko-ai/typedspark/compare/1.0.6...1.0.7

1.0.6

What's Changed
* Bump pandas from 2.0.1 to 2.0.2 by dependabot in https://github.com/kaiko-ai/typedspark/pull/67
* Bump coverage from 7.2.6 to 7.2.7 by dependabot in https://github.com/kaiko-ai/typedspark/pull/68
* Bump pyright from 1.1.310 to 1.1.311 by dependabot in https://github.com/kaiko-ai/typedspark/pull/70
* Bump nbformat from 5.8.0 to 5.9.0 by dependabot in https://github.com/kaiko-ai/typedspark/pull/69
* Update typing-extensions requirement from <=4.6.2 to <=4.6.3 by dependabot in https://github.com/kaiko-ai/typedspark/pull/71


**Full Changelog**: https://github.com/kaiko-ai/typedspark/compare/1.0.5...1.0.6

1.0.5

What's Changed?
* Update typing-extensions requirement from <=4.6.1 to <=4.6.2 by dependabot in https://github.com/kaiko-ai/typedspark/pull/64


**Full Changelog**: https://github.com/kaiko-ai/typedspark/compare/1.0.4...1.0.5

1.0.4

Update typing-extensions requirement

1.0.3

Support nested datatypes for Schema.get_schema_definition_as_string()

1.0.2

Extends `create_partially_filled_dataset()` such that you can now also define it in a row-wise fashion:

python
create_partially_filled_dataset(
spark,
Person,
[
{Person.name: "Alice", Person.age: 20},
{Person.name: "Bob", Person.age: 30},
{Person.name: "Charlie", Person.age: 40},
{Person.name: "Dave", Person.age: 50},
{Person.name: "Eve", Person.age: 60},
{Person.name: "Frank", Person.age: 70},
{Person.name: "Grace", Person.age: 80},
]
)

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.