fix type annotation for owners
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -70,8 +70,8 @@ class NewMedicineState(rx.State):
|
||||
async with self:
|
||||
self.load_last_scan()
|
||||
|
||||
@rx.var
|
||||
def owners(self):
|
||||
@rx.cached_var
|
||||
def owners(self) -> List[str]:
|
||||
with rx.session() as session:
|
||||
statement = select(Owner)
|
||||
results = session.exec(statement)
|
||||
|
||||
Reference in New Issue
Block a user