Skip to content

Commit

Permalink
Adjust type for kv_port
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Scribner <[email protected]>
  • Loading branch information
ejscribner committed Oct 17, 2024
1 parent c136133 commit 7f911b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CouchbaseOnlineStoreConfig(FeastConfigBaseModel):
user: Optional[StrictStr] = None
password: Optional[StrictStr] = None
bucket_name: Optional[StrictStr] = None
kv_port: Optional[StrictStr] = None
kv_port: Optional[int] = None


class CouchbaseOnlineStore(OnlineStore):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def create_online_store(self) -> Dict[str, object]:
"user": self.username,
"password": self.password,
"bucket_name": self.bucket_name,
"kv_port": kv_port,
"kv_port": int(kv_port),
}

def _wait_for_server_ready(self, base_url: str, timeout: int = 120):
Expand Down

0 comments on commit 7f911b1

Please sign in to comment.