Skip to content

ETL Pipeline基盤整備: ディレクトリ構造とPipelineComponent基底クラス実装 #155

@yu23ki14

Description

@yu23ki14

ETL Pipeline基盤整備: ディレクトリ構造とPipelineComponent基底クラス実装

関連Issue: #154 (ETLの柔軟性向上)

概要

ETLパイプラインの柔軟性向上のための基盤整備として、モジュール化されたアーキテクチャの基礎となるディレクトリ構造とPipelineComponent基底クラスを実装します。

実装内容

1. Pipeline ディレクトリ構造作成

etl/src/birdxplorer_etl/
├── pipeline/
│ ├── init.py
│ ├── components/
│ │ └── init.py
│ ├── filters/
│ │ └── init.py
│ ├── config/
│ │ └── init.py
│ └── base/
│ └── init.py

2. PipelineComponent 基底クラス実装

  • pipeline/base/component.py: 基底クラス定義
  • pipeline/base/context.py: パイプライン実行コンテキスト
  • 型定義とインターフェース仕様

技術要件

  • Python 3.10+
  • 型ヒント必須
  • 抽象基底クラス使用
  • ログ機能統合

受け入れ条件

  • ディレクトリ構造が正しく作成されている
  • PipelineComponent基底クラスが実装されている
  • PipelineContextクラスが実装されている
  • 型チェックが通る
  • 基本的な単体テストが実装されている

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions