Skip to content

Commit

Permalink
Utiliser port spécifié pour le client synchrone
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Dec 8, 2024
1 parent e2e9776 commit 1dc4a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constellationPy/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __call__(soimême, **argsmc):
argsmc = {c: v for c, v in argsmc.items()} # Ne pas convertir à chameau ici ; le client asynchrone s'en occupe

async def f_async():
async with ouvrir_client() as client:
async with ouvrir_client(soimême.port) as client:
f_client = client
for x in soimême._liste_attributs:
f_client = getattr(f_client, x)
Expand Down

0 comments on commit 1dc4a15

Please sign in to comment.