Skip to content

Commit 126ce3a

Browse files
committed
Add docstring
1 parent b991617 commit 126ce3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/datafusion/catalog.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ def kind(self) -> str:
164164

165165

166166
class CatalogProvider(ABC):
167+
"""Abstract class for defining a Python based Catalog Provider."""
168+
167169
@abstractmethod
168170
def schema_names(self) -> set[str]:
169171
"""Set of the names of all schemas in this catalog."""
@@ -196,6 +198,8 @@ def deregister_schema(self, name: str, cascade: bool) -> None: # noqa: B027
196198

197199

198200
class SchemaProvider(ABC):
201+
"""Abstract class for defining a Python based Schema Provider."""
202+
199203
def owner_name(self) -> str | None:
200204
"""Returns the owner of the schema.
201205

0 commit comments

Comments
 (0)