Skip to content

Commit a71cfe9

Browse files
committed
python-ldap: Update metadata for current typeshed
1 parent ac73511 commit a71cfe9

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

stubs/python-ldap/METADATA.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
version = "3.4.*"
2-
requires = ["types-pyasn1"]
3-
upstream_repository = "https://github.com/python-ldap/python-ldap"
4-
extra_description = """
2+
dependencies = ["types-pyasn1"]
3+
upstream-repository = "https://github.com/python-ldap/python-ldap"
4+
extra-description = """
55
Type stubs for python-ldap, covering the public API as documented at
66
https://www.python-ldap.org/doc/html/api.html.
77
"""
8-
partial_stub = true
8+
partial-stub = true
99

1010
[tool.stubtest]
11-
stubtest_requirements = ["python-ldap"]
11+
stubtest-dependencies = ["python-ldap"]

stubs/python-ldap/ldap/schema/models.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,14 @@ class NameForm(SchemaElement):
5656
class Entry(UserDict[Any, Any]):
5757
dn: Any # TODO: Precise type
5858
def __init__(self, schema, dn, entry) -> None: ...
59+
5960
@overload
6061
def update(self, other: SupportsKeysAndGetItem[Any, Any], /, **kwargs: Any) -> None: ...
6162
@overload
6263
def update(self, other: Iterable[tuple[Any, Any]], /, **kwargs: Any) -> None: ...
6364
@overload
6465
def update(self, **kwargs: Any) -> None: ...
66+
6567
def __contains__(self, nameoroid) -> bool: ...
6668
def __getitem__(self, nameoroid): ...
6769
def __setitem__(self, nameoroid, attr_values) -> None: ...

0 commit comments

Comments
 (0)