Skip to content

Commit e30e2af

Browse files
authored
fix pod ssh ip and parsing bug (#21)
* fix pod ssh ip and parsing bug
1 parent a778425 commit e30e2af

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "prime-cli"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
description = "Prime Intellect CLI"
55
readme = "README.md"
66
requires-python = ">=3.8"

src/prime_cli/api/pods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class Pod(BaseModel):
6666
prime_port_mapping: Optional[List[PortMapping]] = Field(
6767
None, alias="primePortMapping"
6868
)
69-
ssh_connection: Optional[str] = Field(None, alias="sshConnection")
70-
ip: Optional[str]
69+
ssh_connection: Optional[Union[str, List[str]]] = Field(None, alias="sshConnection")
70+
ip: Optional[Union[str, List[str]]]
7171
price_hr: Optional[float] = Field(None, alias="priceHr")
7272
environment_type: Optional[str] = Field(None, alias="environmentType")
7373
socket: Optional[str]

src/prime_cli/commands/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@app.command()
1212
def view() -> None:
1313
"""View current configuration"""
14+
console.print("[blue]Test[/blue]")
1415
config = Config()
1516
settings = config.view()
1617

0 commit comments

Comments
 (0)