parameters: (
          self,
          module_name: str,
          src: str,
          is_package: bool = False,
          dependencies: bool = True,
      )
docstring: Adds ``src`` as the source code for ``module_name`` in the exported package.
  
          Args:
              module_name (str): e.g. ``my_package.my_subpackage``, code will be saved to provide code for this package.
              src (str): The Python source code to save for this package.
              is_package (bool, optional): If ``True``, this module is treated as a package. Packages are allowed to have submodules
                  (e.g. ``my_package.my_subpackage.my_subsubpackage``), and resources can be saved inside them. Defaults to ``False``.
              dependencies (bool, optional): If ``True``, we scan the source for dependencies.
docstring_summary: Adds ``src`` as the source code for ``module_name`` in the exported package.
docstring_tokens: Adds src as the source code for module_name in the exported package .
function: def save_source_string(
          self,
          module_name: str,
          src: str,
          is_package: bool = False,
          dependencies: bool = True,
      ):
          """Adds ``src`` as the source code for ``module_name`` in the exported package.
  
          Args:
              module_name (str): e.g. ``my_package.my_subpackage``, code will be saved to provide code for this package.
              src (str): The Python source code to save for this package.
              is_package (bool, optional): If ``True``, this module is treated as a package. Packages are allowed to have submodules
                  (e.g. ``my_package.my_subpackage.my_subsubpackage``), and resources can be saved inside them. Defaults to ``False``.
              dependencies (bool, optional): If ``True``, we scan the source for dependencies.
          """
          self.dependency_graph.add_node(
              module_name,
              source=src,
              is_package=is_package,
              provided=True,
              action=_ModuleProviderAction.INTERN,
          )
  
          if dependencies:
              deps = self._get_dependencies(src, module_name, is_package)
  
              for dep in deps:
                  self.dependency_graph.add_edge(module_name, dep)
                  self.add_dependency(dep)
function_tokens: def save_source_string ( self , module_name : str , src : str , is_package : bool = False , dependencies : bool = True , ) : self . dependency_graph . add_node ( module_name , source = src , is_package = is_package , provided = True , action = _ModuleProviderAction . INTERN , ) if dependencies : deps = self . _get_dependencies ( src , module_name , is_package ) for dep in deps : self . dependency_graph . add_edge ( module_name , dep ) self . add_dependency ( dep )