Skip to content

Commit

Permalink
Merge pull request #972 from parea-ai/fix-version-num
Browse files Browse the repository at this point in the history
fix to float
  • Loading branch information
jalexanderII committed Jun 19, 2024
2 parents 59cb675 + 6060169 commit fdccc79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions parea/schemas/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Any, Dict, Iterable, List, Optional, Tuple

import json
from enum import Enum
from typing import Any, Dict, Iterable, List, Optional, Tuple

from attrs import define, field, validators

Expand Down Expand Up @@ -65,7 +64,7 @@ class Prompt:
@define
class UseDeployedPromptResponse:
deployment_id: str
version_number: int
version_number: float
name: Optional[str] = None
functions: Optional[List[str]] = None
function_call: Optional[str] = None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "parea-ai"
packages = [{ include = "parea" }]
version = "0.2.177"
version = "0.2.178"
description = "Parea python sdk"
readme = "README.md"
authors = ["joel-parea-ai <[email protected]>"]
Expand Down

0 comments on commit fdccc79

Please sign in to comment.