Rewrapped banner params in proxytype.
@@ -156,7 +156,8 @@ def _default_banner_args() -> typing.Mapping[str, str]:
)
filtered_system_bits = (s.strip() for s in system_bits if s.strip())
- return {
+ return types.MappingProxyType(
+ {
# Hikari stuff.
"hikari_version": _about.__version__,
"hikari_git_branch": _about.__git_branch__,
@@ -177,6 +178,7 @@ def _default_banner_args() -> typing.Mapping[str, str]:
# Platform specific stuff I might remove later.
"system_description": " ".join(filtered_system_bits),
}
+ )
DEFAULT_BANNER_ARGS: typing.Final[typing.Mapping[str, str]] = _default_banner_args()
