Skip to content

Commit 051f416

Browse files
committed
Fix Sphinx docs build: docstring indentation causing RST parse error
Remove extra indentation on continuation line in oci_genai_fixture docstring that sphinx-autoapi rendered as a malformed block quote. Also remove unused Generator return type annotations from OCI fixtures for consistency with the rest of the file.
1 parent 1ba5d0a commit 051f416

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • packages/nvidia_nat_test/src/nat/test

packages/nvidia_nat_test/src/nat/test/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def openai_api_key_fixture(fail_missing: bool):
152152

153153

154154
@pytest.fixture(name="oci_nemotron_endpoint", scope='session')
155-
def oci_nemotron_endpoint_fixture(fail_missing: bool) -> Generator[dict[str, str], None, None]:
155+
def oci_nemotron_endpoint_fixture(fail_missing: bool):
156156
"""
157157
Use for integration tests that require an OCI-hosted Nemotron OpenAI-compatible endpoint.
158158
"""
@@ -246,12 +246,12 @@ def azure_openai_keys_fixture(fail_missing: bool):
246246

247247

248248
@pytest.fixture(name="oci_genai", scope='session')
249-
def oci_genai_fixture(fail_missing: bool) -> Generator[dict[str, str], None, None]:
249+
def oci_genai_fixture(fail_missing: bool):
250250
"""
251251
Use for integration tests that require OCI Generative AI credentials.
252252
Required: OCI_COMPARTMENT_ID.
253253
Optional: OCI_REGION (default: us-chicago-1), OCI_META_MODEL (default: meta.llama-3.3-70b-instruct),
254-
OCI_GOOGLE_MODEL (default: google.gemini-2.5-flash).
254+
OCI_GOOGLE_MODEL (default: google.gemini-2.5-flash).
255255
Auth is read from ~/.oci/config using the DEFAULT profile.
256256
"""
257257
yield require_env_variables(

0 commit comments

Comments
 (0)