mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 14:45:23 +08:00
Remove empty __init__ methods from classes with 0 parents (#8907)
This commit is contained in:
@@ -7,7 +7,6 @@ class ReflectedState:
|
||||
keys: Any
|
||||
fk_constraints: Any
|
||||
ck_constraints: Any
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class MySQLTableDefinitionParser:
|
||||
logger: Any
|
||||
|
||||
@@ -5,5 +5,4 @@ def deregister(class_) -> None: ...
|
||||
|
||||
class _dispatcher:
|
||||
specs: Any
|
||||
def __init__(self) -> None: ...
|
||||
def __call__(self, element, compiler, **kw): ...
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from typing import Any
|
||||
|
||||
class IdentityMap:
|
||||
def __init__(self) -> None: ...
|
||||
def keys(self): ...
|
||||
def replace(self, state) -> None: ...
|
||||
def add(self, state) -> None: ...
|
||||
|
||||
@@ -34,7 +34,6 @@ class PostLoad:
|
||||
loaders: Any
|
||||
states: Any
|
||||
load_keys: Any
|
||||
def __init__(self) -> None: ...
|
||||
def add_state(self, state, overwrite) -> None: ...
|
||||
def invoke(self, context, path) -> None: ...
|
||||
@classmethod
|
||||
|
||||
@@ -78,6 +78,5 @@ class AttributeState:
|
||||
class PendingCollection:
|
||||
deleted_items: Any
|
||||
added_items: Any
|
||||
def __init__(self) -> None: ...
|
||||
def append(self, value) -> None: ...
|
||||
def remove(self, value) -> None: ...
|
||||
|
||||
@@ -44,7 +44,6 @@ class _UnboundLoad(Load):
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class loader_option:
|
||||
def __init__(self) -> None: ...
|
||||
name: Any
|
||||
fn: Any
|
||||
def __call__(self, fn): ...
|
||||
|
||||
@@ -76,7 +76,6 @@ class SQLCursorExecuteObserved: ...
|
||||
|
||||
class SQLAsserter:
|
||||
accumulated: Any
|
||||
def __init__(self) -> None: ...
|
||||
def assert_(self, *rules) -> None: ...
|
||||
|
||||
def assert_engine(engine) -> None: ...
|
||||
|
||||
@@ -10,7 +10,6 @@ class ConnectionKiller:
|
||||
proxy_refs: Any
|
||||
testing_engines: Any
|
||||
dbapi_connections: Any
|
||||
def __init__(self) -> None: ...
|
||||
def add_pool(self, pool) -> None: ...
|
||||
def add_engine(self, engine, scope) -> None: ...
|
||||
def rollback_all(self) -> None: ...
|
||||
|
||||
@@ -7,7 +7,6 @@ class compound:
|
||||
fails: Any
|
||||
skips: Any
|
||||
tags: Any
|
||||
def __init__(self) -> None: ...
|
||||
def __add__(self, other): ...
|
||||
def as_skips(self): ...
|
||||
def add(self, *others): ...
|
||||
|
||||
@@ -5,7 +5,6 @@ FOLLOWER_IDENT: Any
|
||||
|
||||
class register:
|
||||
fns: Any
|
||||
def __init__(self) -> None: ...
|
||||
@classmethod
|
||||
def init(cls, fn): ...
|
||||
def for_db(self, *dbnames): ...
|
||||
|
||||
Reference in New Issue
Block a user