You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2023/04/28 18:46:12 UTC

[iceberg] branch master updated: Python: fix mkdocs warnings from visitors.py (#7464)

This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 78aafdb55e Python: fix mkdocs warnings from visitors.py (#7464)
78aafdb55e is described below

commit 78aafdb55e65463fb518714b4c1d164ce890cc2b
Author: Brandon George <11...@users.noreply.github.com>
AuthorDate: Fri Apr 28 13:46:05 2023 -0500

    Python: fix mkdocs warnings from visitors.py (#7464)
    
    * updates to remove mkdocs warnings from_bytes()
    
    * updated comments for mkdocs WARNINGS to be removed
    
    * removal of warnings from mkdocs serve --strict
---
 python/pyiceberg/expressions/visitors.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/pyiceberg/expressions/visitors.py b/python/pyiceberg/expressions/visitors.py
index 901c451198..33274c7903 100644
--- a/python/pyiceberg/expressions/visitors.py
+++ b/python/pyiceberg/expressions/visitors.py
@@ -143,8 +143,8 @@ def visit(obj: BooleanExpression, visitor: BooleanExpressionVisitor[T]) -> T:
     The function traverses the expression in post-order fashion
 
     Args:
-        obj(BooleanExpression): An instance of a BooleanExpression
-        visitor(BooleanExpressionVisitor[T]): An instance of an implementation of the generic BooleanExpressionVisitor base class
+        obj (BooleanExpression): An instance of a BooleanExpression
+        visitor (BooleanExpressionVisitor[T]): An instance of an implementation of the generic BooleanExpressionVisitor base class
 
     Raises:
         NotImplementedError: If attempting to visit an unsupported expression