Skip to main content

find_related_module

Find module in package.

def find_related_module(
package: string,
related_name: string
) - > module | None

Find module in package.

Parameters

NameTypeDescription
packagestringThe base package path or class path where the search begins.
related_namestringThe name of the submodule to locate within the specified package.

Returns

TypeDescription
`moduleNone`