mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 16:56:26 +02:00
feat: +unit test
This commit is contained in:
parent
8844fa74f7
commit
c61a3d2a99
10 changed files with 177 additions and 86 deletions
|
|
@ -63,5 +63,5 @@ class Redis:
|
|||
self._client = None
|
||||
|
||||
@property
|
||||
def is_valid(self):
|
||||
return bool(self._client)
|
||||
def is_valid(self) -> bool:
|
||||
return self._client is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue