First Check
Example Codefrom typer.testing import CliRunner, Result
runner = CliRunner()
def run(*args: str) -> Result:
return runner.invoke(cli(), args)
# Results in
# "Result" is not exported from module "typer.testing"
# Import from "typer._click.testing" instead (reportPrivateImportUsage)DescriptionSince Typer vendored Click internally, the Previously, users could import Operating SystemLinux Operating System DetailsNo response Project Version0.26.1 Python Version3.12.3 Additional ContextFollowing https://tiangolo.com/open-source/contributing/#start-with-a-discussion I didn't wanna open a PR directly 😅 |
Replies: 3 comments 2 replies
|
Thanks! We'll look into this ASAP 🙏 |
|
Ok, so I had a quick look.
This is actually kind of by design: we've moved all the Click internals to a I can see the argument for needing to access |
PR: #1792. That should fix it for you, right @Fatiz ? You'd be able to import
Resultfromtyper.testing?