File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
airbyte_cdk/manifest_migrations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ This directory contains the logic and registry for manifest migrations in the Ai
1212
13132 . ** Define the Migration Class:**
1414 - The migration class must inherit from ` ManifestMigration ` .
15- - Name the class using the pattern: ` V_<major>_<minor>_<patch>_ManifestMigration_ <Description> ` .
16- - Example: ` V_6_45_2_ManifestMigration_HttpRequesterUrlBaseToUrl `
15+ - Name the class using the pattern: ` V_<major>_<minor>_<patch>_ <Description> ` .
16+ - Example: ` V_6_45_2_HttpRequesterUrlBaseToUrl `
1717 - Implement the following methods:
1818 - ` should_migrate(self, manifest: ManifestType) -> bool ` : Return ` True ` if the migration should be applied to the given manifest.
1919 - ` migrate(self, manifest: ManifestType) -> None ` : Perform the migration in-place.
@@ -43,7 +43,7 @@ This directory contains the logic and registry for manifest migrations in the Ai
4343``` python
4444from airbyte_cdk.sources.declarative.migrations.manifest.manifest_migration import TYPE_TAG , ManifestMigration, ManifestType
4545
46- class V_1_2_3_ManifestMigration_Example (ManifestMigration ):
46+ class V_1_2_3_Example (ManifestMigration ):
4747 component_type = " ExampleComponent"
4848 original_key = " old_key"
4949 replacement_key = " new_key"
You can’t perform that action at this time.
0 commit comments