MCPcopy Create free account
hub / github.com/apache/arrow / __getattr__

Function __getattr__

python/pyarrow/dataset.py:109–118  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

107
108
109def __getattr__(name):
110 if name == "OrcFileFormat" and not _orc_available:
111 raise ImportError(_orc_msg)
112
113 if name == "ParquetFileFormat" and not _parquet_available:
114 raise ImportError(_parquet_msg)
115
116 raise AttributeError(
117 f"module 'pyarrow.dataset' has no attribute '{name}'"
118 )
119
120
121def partitioning(schema=None, field_names=None, flavor=None,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected