Skip to content

FEAT: Adding initializer scripts to REST API#1728

Merged
rlundeen2 merged 16 commits into
microsoft:mainfrom
rlundeen2:users/rlundeen/2026_05_13_add_initializer
May 14, 2026
Merged

FEAT: Adding initializer scripts to REST API#1728
rlundeen2 merged 16 commits into
microsoft:mainfrom
rlundeen2:users/rlundeen/2026_05_13_add_initializer

Conversation

@rlundeen2
Copy link
Copy Markdown
Contributor

@rlundeen2 rlundeen2 commented May 13, 2026

Extends the read-only initializer REST API with mutating operations: POST to register a custom initializer from uploaded Python source, DELETE to remove one. Adds a allow_custom_initializers config flag gating these endpoints, a BaseClassRegistry.unregister() method, and configuration plumbing through ConfigurationLoaderFrontendCoreapp.state.

Comment thread .pyrit_conf_example
Comment thread pyrit/backend/routes/initializers.py
Comment thread pyrit/backend/models/initializers.py Outdated
Comment thread pyrit/backend/services/initializer_service.py Outdated
@rlundeen2 rlundeen2 enabled auto-merge May 14, 2026 20:15
@rlundeen2 rlundeen2 added this pull request to the merge queue May 14, 2026
Merged via the queue into microsoft:main with commit 42c5cde May 14, 2026
48 checks passed
@rlundeen2 rlundeen2 deleted the users/rlundeen/2026_05_13_add_initializer branch May 14, 2026 21:24
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