% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/infra__python_bridge.R
\name{.import_python_module}
\alias{.import_python_module}
\title{Import Python Module into asa_env}
\usage{
.import_python_module(module_name, env_name = module_name, required = TRUE)
}
\arguments{
\item{module_name}{Name of the Python module (without .py)}

\item{env_name}{Name in asa_env (defaults to module_name)}

\item{required}{If TRUE, error on failure; if FALSE, return NULL}
}
\value{
The imported Python module (invisibly), or NULL on failure if not required
}
\description{
Generic helper for importing Python modules from inst/python.
Handles caching, path resolution, and error handling.
}
\keyword{internal}
