Replacement for get_global_client?

I had been using ray 2.2 and get_global_client.
When upgrading to 2.7.0 and running some unit tests, I’m getting the error:
ImportError: cannot import name 'get_global_client' from 'ray.serve.context'

Is there a new/preferred way to get the global client?