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
12
12
13
13
2 . ** Define the Migration Class:**
14
14
- 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 `
17
17
- Implement the following methods:
18
18
- ` should_migrate(self, manifest: ManifestType) -> bool ` : Return ` True ` if the migration should be applied to the given manifest.
19
19
- ` 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
43
43
``` python
44
44
from airbyte_cdk.sources.declarative.migrations.manifest.manifest_migration import TYPE_TAG , ManifestMigration, ManifestType
45
45
46
- class V_1_2_3_ManifestMigration_Example (ManifestMigration ):
46
+ class V_1_2_3_Example (ManifestMigration ):
47
47
component_type = " ExampleComponent"
48
48
original_key = " old_key"
49
49
replacement_key = " new_key"
You can’t perform that action at this time.
0 commit comments