File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/aleph/sdk/client/services Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 55
66from aleph .sdk .client .services .base import BaseService
77from aleph .sdk .conf import settings
8+
89if TYPE_CHECKING :
910 pass
1011
@@ -205,9 +206,7 @@ def __init__(self, client):
205206 async def get_pricing_aggregate (
206207 self ,
207208 ) -> PricingModel :
208- result = await self .get_config (
209- address = settings .ALEPH_AGGREGATE_ADDRESS
210- )
209+ result = await self .get_config (address = settings .ALEPH_AGGREGATE_ADDRESS )
211210 return result .data [0 ]
212211
213212 async def get_pricing_for_services (
Original file line number Diff line number Diff line change 11from typing import List
22
33from pydantic import BaseModel
4+
45from aleph .sdk .conf import settings
6+
57from .base import BaseService
68
79
@@ -34,7 +36,5 @@ def __init__(self, client):
3436 async def get_settings_aggregate (
3537 self ,
3638 ) -> NetworkSettingsModel :
37- result = await self .get_config (
38- address = settings .ALEPH_AGGREGATE_ADDRESS
39- )
39+ result = await self .get_config (address = settings .ALEPH_AGGREGATE_ADDRESS )
4040 return result .data [0 ]
You can’t perform that action at this time.
0 commit comments