The CachedCashCtrlClient class inherits from CashCtrlClient and overrides the above methods with cached versions. Additionally, it adds a list_currencies method, which does not exist in the ancestor class:
list_currencies(self) -> pd.DataFrame
Tasks
Implement a type-consistent CashCtrlClient.list_currencies() method.
Adapt CachedCashCtrlClient.list_currencies() to invoke the newly implemented CashCtrlClient.list_currencies() method.
Goal
Align
list_currencies()
with the otherlist_xy
methods.Current State
The
CashCtrlClient
class currently provides type-consistentlist_xy
methods, as shown below:The
CachedCashCtrlClient
class inherits fromCashCtrlClient
and overrides the above methods with cached versions. Additionally, it adds alist_currencies
method, which does not exist in the ancestor class:Tasks
Implement a type-consistent
CashCtrlClient.list_currencies()
method.Adapt
CachedCashCtrlClient.list_currencies()
to invoke the newly implementedCashCtrlClient.list_currencies()
method.