def METHOD_NAME(type_, func):
    with temp_registered(_FirstBase, st.builds(type_)), temp_registered(
        _SecondBase, st.builds(type_)
    ):
        find_any(st.builds(func))
    with temp_registered(type_, st.builds(type_)):
        find_any(st.builds(func))