File tree Expand file tree Collapse file tree
packages/google-api-core/google/api_core/gapic_v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- from google .api_core .gapic_v1 import client_info
16- from google .api_core .gapic_v1 import config
17- from google .api_core .gapic_v1 import config_async
18- from google .api_core .gapic_v1 import method
19- from google .api_core .gapic_v1 import method_async
20- from google .api_core .gapic_v1 import routing_header
15+ import sys
16+ import typing
17+
18+ __lazy_modules__ = {
19+ f"{ __name__ } .client_info" ,
20+ f"{ __name__ } .config" ,
21+ f"{ __name__ } .config_async" ,
22+ f"{ __name__ } .method" ,
23+ f"{ __name__ } .method_async" ,
24+ f"{ __name__ } .routing_header" ,
25+ }
26+
27+ if typing .TYPE_CHECKING or sys .version_info < (3 , 15 ):
28+ from google .api_core .gapic_v1 import client_info
29+ from google .api_core .gapic_v1 import config
30+ from google .api_core .gapic_v1 import config_async
31+ from google .api_core .gapic_v1 import method
32+ from google .api_core .gapic_v1 import method_async
33+ from google .api_core .gapic_v1 import routing_header
2134
2235__all__ = [
2336 "client_info" ,
You can’t perform that action at this time.
0 commit comments