Typed config for hive-tmux's Python bridge.
Currently exposes one knob:
:python-executable — path to a Python interpreter for libpython-clj to load. Repoints libpython-clj at a Python where libtmux is installed (e.g. a conda env).
Resolution chain (first non-nil wins, see coalesce):
Typed config for hive-tmux's Python bridge.
Currently exposes one knob:
:python-executable — path to a Python interpreter for libpython-clj
to load. Repoints libpython-clj at a Python
where libtmux is installed (e.g. a conda env).
Resolution chain (first non-nil wins, see `coalesce`):
1. HIVE_PYTHON_EXECUTABLE env var
2. HIVE_TMUX_PYTHON env var
3. nil → caller falls back to host auto-detection or libpython-clj
defaults.(->python-config kw__1708__auto__)Coerce a keyword to a PythonConfig variant (no data fields). Returns nil if keyword is not a valid variant.
Coerce a keyword to a PythonConfig variant (no data fields). Returns nil if keyword is not a valid variant.
(python-config variant-kw__1705__auto__)(python-config variant-kw__1705__auto__ data__1706__auto__)Construct a PythonConfig variant. (python-config variant-keyword) for enum variants (python-config variant-keyword data-map) for data variants
Throws ex-info for unknown variants.
Construct a PythonConfig variant. (python-config variant-keyword) for enum variants (python-config variant-keyword data-map) for data variants Throws ex-info for unknown variants.
(python-config? x__1707__auto__)True if x is a PythonConfig ADT value.
True if x is a PythonConfig ADT value.
Config ADT for PythonConfig. Auto-generated by defconfig.
Config ADT for PythonConfig. Auto-generated by defconfig.
Field registry for PythonConfig config.
Field registry for PythonConfig config.
Malli schema for resolved PythonConfig.
Malli schema for resolved PythonConfig.
Malli :multi schema (dispatch :adt/variant) for PythonConfig — generator-capable and EDN-safe wherever pred-sym->malli covers the declared field predicates.
Malli :multi schema (dispatch :adt/variant) for PythonConfig — generator-capable and EDN-safe wherever pred-sym->malli covers the declared field predicates.
(resolve-PythonConfig)(resolve-PythonConfig overrides)(resolve-PythonConfig overrides opts)Resolve PythonConfig from environment + overrides. Returns Result: (ok resolved-map) or (err :config/resolution-failed {...})
Resolve PythonConfig from environment + overrides.
Returns Result: (ok resolved-map) or (err :config/resolution-failed {...})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |