Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Jan 22, 2025
1 parent 6111ce7 commit d37c13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions python/docs/create_api_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ def _load_module_members(module_path: str, namespace: str) -> ModuleMembers:
else (
"enum"
if issubclass(type_, Enum)
else "Pydantic"
if issubclass(type_, BaseModel)
else "Regular"
else "Pydantic" if issubclass(type_, BaseModel) else "Regular"
)
)
classes_.append(
Expand Down
2 changes: 1 addition & 1 deletion python/tests/evaluation/test_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async def apredict(inputs: dict) -> dict:
df = results.to_pandas()
assert len(df) == 10
all_examples = list(client.list_examples(dataset_name=dataset.name))
all_results = [r async for r in results]
list(results)

# Wait for there to be same num runs vs. examples
def check_run_count():
Expand Down

0 comments on commit d37c13d

Please sign in to comment.