Fix passlib stubtest on windows (#9523)

This commit is contained in:
Avasam
2023-01-13 03:14:37 -05:00
committed by GitHub
parent 102a8fa38c
commit f84dca699d
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
# Only exists if crypt is present
passlib.hosts.host_context

View File

@@ -1,8 +1,11 @@
from typing import Any
from passlib.context import CryptContext
linux_context: Any
linux2_context: Any
freebsd_context: Any
openbsd_context: Any
netbsd_context: Any
host_context: Any
# Only exists if crypt is present
host_context: CryptContext