mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
updated the van inventory to use the api
This commit is contained in:
@@ -49,7 +49,8 @@ class InventoryItem(BaseModel):
|
||||
"""An item in the van inventory."""
|
||||
|
||||
name: str
|
||||
quantity: int = 1
|
||||
quantity: float = 1
|
||||
unit: str = "each"
|
||||
category: str = ""
|
||||
notes: str = ""
|
||||
|
||||
@@ -67,7 +68,7 @@ class BotConfig(BaseModel):
|
||||
|
||||
signal_api_url: str
|
||||
phone_number: str
|
||||
inventory_file: str = "van_inventory.json"
|
||||
inventory_api_url: str
|
||||
cmd_prefix: str = "!"
|
||||
reconnect_delay: int = 5
|
||||
max_reconnect_delay: int = 300
|
||||
|
||||
Reference in New Issue
Block a user