Skip to content

Commit

Permalink
#24 fix mypy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ephes committed Oct 5, 2023
1 parent 6b33cfc commit 784473d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kptncook/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class Settings(BaseSettings):
root: DirectoryPath = Field(Path.home() / ".kptncook", env="KPTNCOOK_HOME")
kptncook_api_key: str
kptncook_access_token: str | None = None
kptncook_api_url: AnyHttpUrl = "https://mobile.kptncook.com"
mealie_url: AnyHttpUrl = "http://localhost:9000/api"
kptncook_api_url: AnyHttpUrl = AnyHttpUrl("https://mobile.kptncook.com")
mealie_url: AnyHttpUrl = AnyHttpUrl("http://localhost:9000/api")
mealie_username: str
mealie_password: str

Expand Down
2 changes: 1 addition & 1 deletion kptncook/mealie.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def kptncook_to_mealie(
"recipe_instructions": kptncook_to_mealie_steps(kcin.steps, api_key),
"recipe_ingredient": kptncook_to_mealie_ingredients(kcin.ingredients),
"image_url": kcin.get_image_url(api_key),
"tags": [RecipeTag(name="kptncook")],
"tags": [RecipeTag.model_validate({"name": "kptncook", "group_id": None})],
"extras": {"kptncook_id": kcin.id.oid, "source": "kptncook"},
}
print("kwargs: ", kwargs)
Expand Down

0 comments on commit 784473d

Please sign in to comment.