Skip to content

Commit

Permalink
Change dict -> dictionary in "Getting dict metadata..."
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Jul 27, 2024
1 parent 0fc7b0c commit ad40109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package_build/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_hook_metadata() -> list[HookInfoEntry]:
return [HookInfoEntry.model_validate(item) for item in data]


@st.cache_data(show_spinner=_("Getting dict metadata..."), ttl=timedelta(minutes=15))
@st.cache_data(show_spinner=_("Getting dictionary metadata..."), ttl=timedelta(minutes=15))
def get_dict_metadata() -> list[DictInfoEntry]:
data = get_json(dict_metadata_url)
return [DictInfoEntry.model_validate(item) for item in data if item.get("code")]

0 comments on commit ad40109

Please sign in to comment.