* better default types

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* more mypy fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* more fixes for mypy

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix mypy;

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix mypy;

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2024-09-10 14:35:25 -07:00
committed by GitHub
parent 794213f713
commit cf1e048bea
19 changed files with 949 additions and 833 deletions

View File

@ -23,7 +23,7 @@ class Connection(BaseModel):
"name": "",
"tls_timeout": 0,
"urls": [],
}
} # type: ignore
config_load_time: datetime.datetime
@ -39,7 +39,7 @@ class Connection(BaseModel):
"name": "",
"port": 0,
"tls_timeout": 0,
}
} # type: ignore
git_commit: str = ""
@ -75,9 +75,9 @@ class Connection(BaseModel):
"reserved_store": 0,
"store": 0,
},
}
} # type: ignore
leaf: LeafNode = {"auth_timeout": 0, "host": "", "port": 0, "tls_timeout": 0}
leaf: LeafNode = {"auth_timeout": 0, "host": "", "port": 0, "tls_timeout": 0} # type: ignore
leafnodes: int = 0