parameters: (self)
return_statement: return self._n_max
docstring: r"""The maximum number of bosons per site, or None
          if the number is unconstrained.
docstring_summary: r"""The maximum number of bosons per site, or None
          if the number is unconstrained.
docstring_tokens: r The maximum number of bosons per site or None if the number is unconstrained .
function: def n_max(self) -> Optional[int]:
          r"""The maximum number of bosons per site, or None
          if the number is unconstrained."""
          return self._n_max
function_tokens: def n_max ( self ) -> Optional [ int ] : return self . _n_max