Skip to content

Commit 89bc724

Browse files
committed
feat: Update imports order
1 parent 3f6ba8b commit 89bc724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

genai/content_cache/contentcache_create_with_txt_gcs_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def create_content_cache() -> str:
1717
# [START googlegenaisdk_contentcache_create_with_txt_gcs_pdf]
1818
from google import genai
19-
from google.genai.types import HttpOptions, Part, Content, CreateCachedContentConfig
19+
from google.genai.types import Content, CreateCachedContentConfig, HttpOptions, Part
2020

2121
client = genai.Client(http_options=HttpOptions(api_version="v1"))
2222

genai/content_cache/contentcache_use_with_txt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def generate_content(cache_name: str) -> str:
1717
# [START googlegenaisdk_contentcache_use_with_txt]
1818
from google import genai
19-
from google.genai.types import HttpOptions, GenerateContentConfig
19+
from google.genai.types import GenerateContentConfig, HttpOptions
2020

2121
client = genai.Client(http_options=HttpOptions(api_version="v1"))
2222

0 commit comments

Comments
 (0)