Skip to content

Commit

Permalink
add value mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
david-loe committed Feb 24, 2025
1 parent 1bac50e commit 0fcc03e
Show file tree
Hide file tree
Showing 4 changed files with 553 additions and 484 deletions.
10 changes: 0 additions & 10 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,3 @@ services:
volumes:
- ./config.yaml:/config.yaml:ro
command: --config /config.yaml
# db:
# image: postgres
# restart: always
# volumes:
# - db_data:/var/lib/postgresql/data
# env_file:
# - .env

volumes:
db_data:
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class TaskBase(BaseModel):
key_fields: list[str]
frappe: Optional[TaskFrappeBase] = None
db: Optional[TaskDbBase] = None
value_mapping: Optional[dict[str, dict[str | int, str | int]]] = None
table_name: Optional[str] = None
query: Optional[str] = None
query_with_timestamp: Optional[str] = None
Expand Down
Loading

0 comments on commit 0fcc03e

Please sign in to comment.