Skip to content

refactor: re-export autoconf config surface from autofit#1394

Merged
Jammy2211 merged 2 commits into
mainfrom
claude/pyautoconf-pyautonerves-rename-ik0cgu
Jul 19, 2026
Merged

refactor: re-export autoconf config surface from autofit#1394
Jammy2211 merged 2 commits into
mainfrom
claude/pyautoconf-pyautonerves-rename-ik0cgu

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

What

Expose the autoconf configuration / serialization surface as a deliberate public API of autofit, so workspaces and downstream code import conf (and jax_wrapper, setup_colab, setup_notebook, fitsable, with_config, and the dictable / fitsable / test_mode helpers) from the science library rather than depending on the autoconf package directly. autofit keeps its own conf export (from . import conf); the block adds only the remaining names.

Why

Keeps the config/serialization layer an implementation detail behind the library namespace — the groundwork for hiding autoconf (the Nerves organ) from workspace users, and a clean prerequisite for the eventual PyAutoConf → PyAutoNerves rename.

Validation

CI green on this branch — the autofit test suite passes on Python 3.12 & 3.13.

🤖 Generated with Claude Code

https://claude.ai/code/session_013ciVftxvYpefh59wSkR7jN


Generated by Claude Code

claude added 2 commits July 18, 2026 21:02
Expose the autoconf (Nerves) configuration/serialization surface as a
deliberate public API of each science library, so workspaces and downstream
code can `from autolens import conf` (and jax_wrapper, setup_colab,
setup_notebook, fitsable, with_config, dictable/fitsable/test_mode helpers)
rather than importing the `autoconf` package directly. This keeps the config
layer an implementation detail behind the library namespace.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ciVftxvYpefh59wSkR7jN
autofit already exposes `conf` via `from . import conf`; the added re-export
block re-bound it to `autoconf.conf`. Leave autofit's own conf binding intact
and re-export only the remaining config/serialization names.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ciVftxvYpefh59wSkR7jN
@Jammy2211
Jammy2211 merged commit 6d1d019 into main Jul 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants