Skip to content

Commit 9e58f5b

Browse files
author
Oleksandr Bazarnov
committed
correct readme.md
1 parent 64ee9db commit 9e58f5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

airbyte_cdk/manifest_migrations/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This directory contains the logic and registry for manifest migrations in the Ai
1212

1313
2. **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
4444
from 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"

0 commit comments

Comments
 (0)