MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / is_valid_param_name

Function is_valid_param_name

src/ifcpatch/ifcpatch/__init__.py:235–239  ·  view source on GitHub ↗
(param_name: str)

Source from the content-addressed store, hash-verified

233 doc = inspect.getdoc(method)
234
235 def is_valid_param_name(param_name: str) -> bool:
236 assert (
237 param_name in inputs
238 ), f"Unexpected param name '{param_name}' in {cls.__name__} docstring (missing from signature)."
239 return True
240
241 def is_valid_filter_glob(filter_glob: str) -> bool:
242 # e.g. '*.ifc;*.ifczip;*.ifcxml'

Callers 1

_extract_docsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected