Skip to content

Commit

Permalink
Minimal mypy update, adding dict type
Browse files Browse the repository at this point in the history
  • Loading branch information
dave42w committed Nov 22, 2024
1 parent 9a95611 commit 888160c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions robyn/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def get_path_obj(
if not description:
description = "No description provided"

openapi_path_object = {
openapi_path_object: dict = {
"summary": name,
"description": description,
"parameters": [],
Expand Down Expand Up @@ -371,11 +371,11 @@ def get_schema_object(self, parameter: str, param_type: Any) -> dict:
@return: dict the properties object
"""

properties = {
properties: dict = {
"title": parameter.capitalize(),
}

type_mapping = {
type_mapping: dict = {
int: "integer",
str: "string",
bool: "boolean",
Expand Down

0 comments on commit 888160c

Please sign in to comment.