mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Use inline type hints in various other places (in synapse/
) (#10380)
This commit is contained in:
parent
c7603af1d0
commit
bf72d10dbf
79 changed files with 329 additions and 336 deletions
|
@ -125,7 +125,7 @@ def generate_latest(registry, emit_help=False):
|
|||
)
|
||||
output.append("# TYPE {0} {1}\n".format(mname, mtype))
|
||||
|
||||
om_samples = {} # type: Dict[str, List[str]]
|
||||
om_samples: Dict[str, List[str]] = {}
|
||||
for s in metric.samples:
|
||||
for suffix in ["_created", "_gsum", "_gcount"]:
|
||||
if s.name == metric.name + suffix:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue