!etqgAEaQcsBuGJpEvE:matrix.org

Fedora Apps

210 Members
Please register to speak - https://da.gd/register | Fedora Infrastructure applications | https://apps.fedoraproject.org - bodhi, fas, mirrormanager, pagure etc11 Servers

Load older messages


SenderMessageTime
1 Aug 2024
@t0xic0der:fedora.imAkashdeep Dhar
In reply to @abompard:fedora.im
you don't have to make your endpoint async, in that case fastapi will call them in a threadpool
Gotta read more on this before I make a comment đŸ˜…
05:43:14
@t0xic0der:fedora.imAkashdeep Dhar
In reply to @abompard:fedora.im
https://fastapi.tiangolo.com/async/?h=threadpool#path-operation-functions
Wow - Thanks for saving me the googling
05:43:26
@t0xic0der:fedora.imAkashdeep Dhar Aurélien B++ 05:43:30
@zodbot:fedora.imzodbot

t0xic0der gave a cookie to abompard. They now have 112 cookies, 3 of which were obtained in the Fedora 40 release cycle

05:43:32
@abompard:fedora.imAurélien Bhaving both a sync and async db connection is a path to madness. We tried that on FMN and had to go back05:43:52
@t0xic0der:fedora.imAkashdeep DharWe did that on CentOS/Duffy and I was "this" close to losing my will to live.05:44:19
@abompard:fedora.imAurélien Byep.05:44:31
@t0xic0der:fedora.imAkashdeep DharCool - I was halfway through with the service endpoint so - I will push the incomplete code and pause stuff for now.05:45:13
@t0xic0der:fedora.imAkashdeep DharStuff = Porting to Flask-OpenAPI305:45:22
@abompard:fedora.imAurélien Byeah05:45:28
@t0xic0der:fedora.imAkashdeep Dhar Aurélien B: Do you want some more time to think it through or should I begin with the FastAPI port? 05:45:42
@abompard:fedora.imAurélien BNah, go ahead, I'll find a way eventually05:45:59
@t0xic0der:fedora.imAkashdeep DharAnything works - I will get back to Forgejo ARC then05:46:06
@t0xic0der:fedora.imAkashdeep DharOk then - starting with the port05:46:14
@abompard:fedora.imAurélien BCool05:46:19
@abompard:fedora.imAurélien BLet's do sync endpoints for now05:46:52
@t0xic0der:fedora.imAkashdeep DharWorks05:47:09
@t0xic0der:fedora.imAkashdeep DharOne endpoint per PR05:47:17
@abompard:fedora.imAurélien Byeah05:47:22
@t0xic0der:fedora.imAkashdeep DharBecause one endpoint also means their request model and their response model and ...05:47:37
@abompard:fedora.imAurélien Byep!05:47:44
@t0xic0der:fedora.imAkashdeep DharAlso let us focus on the tests once we are done with ALL the endpoints05:48:41
@t0xic0der:fedora.imAkashdeep DharShould keep us from slowing down more than we already are05:48:56
@abompard:fedora.imAurélien Byeah, priority is still the main message endpoint05:52:02
@t0xic0der:fedora.imAkashdeep Dhar Mehmet Baran Geylani: Draft https://github.com/fedora-infra/webhook-to-fedora-messaging/pull/57 08:11:26
@t0xic0der:fedora.imAkashdeep Dhar Aurélien B: Are you around? I have a question regarding the creation of an object using sqlalchemy_helpers. 11:52:17
@abompard:fedora.imAurélien Byes12:13:05
@abompard:fedora.imAurélien Bif you're still around12:13:11
@t0xic0der:fedora.imAkashdeep DharI am 12:14:44
@t0xic0der:fedora.imAkashdeep DharWanna jump on a call ?12:14:54

Show newer messages


Back to Room ListRoom Version: 5