From b342c331ac5ae272af4bc36126a0a873b9e810ac Mon Sep 17 00:00:00 2001 From: Pedram Navid <1045990+PedramNavid@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:21:06 -0700 Subject: [PATCH] fix checks --- docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/__init__.py b/docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/__init__.py index 0ebcdb5fbf9ec..9ca64707bb617 100644 --- a/docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/__init__.py +++ b/docs/sphinx/_ext/dagster-sphinx/dagster_sphinx/__init__.py @@ -75,7 +75,7 @@ def record_error(env: BuildEnvironment, message: str) -> None: def check_public_method_has_docstring(env: BuildEnvironment, name: str, obj: object) -> None: if name != "__init__" and not obj.__doc__: message = ( - f"Docstring not found for {obj.__name__}.{name}. " + f"Docstring not found for {obj}.{name}. " "All public methods and properties must have docstrings." ) record_error(env, message)