mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Manual changes of Any union to Incomplete in stubs folder (#9566)
- ClassVar[Any | None] - Missed previous changes due to alias - Manual review of leftover Any unions (`| Any` and `Any |`)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any as _Any
|
||||
|
||||
import sqlalchemy.types as sqltypes
|
||||
@@ -13,7 +14,7 @@ class array(expression.ClauseList, expression.ColumnElement[_Any]):
|
||||
inherit_cache: bool
|
||||
type: _Any
|
||||
def __init__(self, clauses, **kw) -> None: ...
|
||||
def self_group(self, against: _Any | None = ...): ...
|
||||
def self_group(self, against: Incomplete | None = ...): ...
|
||||
|
||||
CONTAINS: _Any
|
||||
CONTAINED_BY: _Any
|
||||
@@ -29,7 +30,9 @@ class ARRAY(sqltypes.ARRAY):
|
||||
as_tuple: _Any
|
||||
dimensions: _Any
|
||||
zero_indexes: _Any
|
||||
def __init__(self, item_type, as_tuple: bool = ..., dimensions: _Any | None = ..., zero_indexes: bool = ...) -> None: ...
|
||||
def __init__(
|
||||
self, item_type, as_tuple: bool = ..., dimensions: Incomplete | None = ..., zero_indexes: bool = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def hashable(self): ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user