You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add ManagedBy StrEnum for managed_by parameter (#1807)
* feat: add ManagedBy StrEnum to replace Literal type for managed_by
Define a common ManagedBy StrEnum in connectorkits/target.py and use it
across all 6 target connectors instead of scattered Literal["system", "user"]
annotations. This gives a single source of truth, better IDE support, and
clearer semantics. Also fixes pre-existing mypy errors in the SQLite target
test by adding a type annotation and using the new enum.
Closes#1806
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: import ManagedBy from target module directly instead of statediff
Since ManagedBy lives in connectorkits/target.py, connectors should
import it from there (target.ManagedBy) rather than going through
statediff. This makes the provenance clear.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments