mastodon.tetaneutral.net est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Instance de Mastodon, réseau social de micro-blogging libre et décentralisé hébergée par l'association Tetaneutral.net.

Statistiques du serveur :

149
comptes actifs

#fastapi

1 message1 participant0 message aujourd’hui
spla :senyera: :fed: :vim:<p>He modificat <a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a> evitant repetir les mateixes línies de codi que verifiquen el token d'accés de l'aplicació client en els punts finals de l'API on es requereix un token d'accés.<br>El resultat final estalvia 537 línies.</p><p><a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a></p>
spla :senyera: :fed: :vim:<p>"Dependency Injection" a <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a> és un sistema molt fàcil i a l'hora molt potent d'evitar repetir el mateix codi en tots els punts finals (endpoints) de l'API.<br>En cadascun dels punts finals fas una crida a la funció que vulguis mitjançant el paràmetre "Depends", funció que verifica que es compleix el requisit necessari, en l'exemple, l'aplicació client ha d'enviar el token correcte, si no és així, la funció que executa Depends és l'encarregada de retornar l'error a l'app client.</p><p><a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a></p>
Adam ♿<p>Take me back to ASP.NET please.</p><p><a href="https://github.com/fastapi/fastapi/discussions/13449" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/fastapi/fastapi/dis</span><span class="invisible">cussions/13449</span></a></p><p><a href="https://aus.social/tags/FastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastAPI</span></a> <a href="https://aus.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
spla :senyera: :fed: :vim:<p>Ara sí que tinc dominat, a <a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a>, els possibles errors al seguir un usuari remot. <br>Mireu el missatge d'error en vermell que li envio a l'aplicació client Ivory quan això passa. 😃<br>Brutal. </p><p><a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a></p>
spla :senyera: :fed: :vim:<p>Millor encara, ara amb el detall exacte del error.</p><p><a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a> <a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a> <a href="https://mastodont.cat/tags/Postgresql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Postgresql</span></a></p>
spla :senyera: :fed: :vim:<p>Afegint control d'errors en la creació de la base de dades de <a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a>. Quan instal·les el servidor appy, si hi ha un error en la creació d'una taula, un index, una seqüència o una funció, el codi et mostra on és l'error i surt al sistema.</p><p><a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a> <a href="https://mastodont.cat/tags/Postgresql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Postgresql</span></a></p>
Martin Hlaváč<p>Pro <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> mám slabost co se týče web scrapingu a zpracování dat či jednorázových skriptů, nicméně co se týče webového vývoje, tak mám raději PHP, resp. Laravel. Až na jednu výjimku. Pro (REST) API mám nejraději Python framework <a href="https://mastodon.social/tags/FastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastAPI</span></a> 🤩 viz <a href="https://fastapi.tiangolo.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">fastapi.tiangolo.com</span><span class="invisible"></span></a></p>
Talk to Me About Tech<p>This is a fantastic open source book bundle featuring a variety of books from <span class="h-card" translate="no"><a href="https://techhub.social/@OReillyMedia" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OReillyMedia</span></a></span> that cover <a href="https://hachyderm.io/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>, <a href="https://hachyderm.io/tags/GitHub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GitHub</span></a>, <a href="https://hachyderm.io/tags/Ansible" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ansible</span></a>, <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>, <a href="https://hachyderm.io/tags/Kubernetes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kubernetes</span></a>, <a href="https://hachyderm.io/tags/Docker" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Docker</span></a>, <a href="https://hachyderm.io/tags/DevSecOps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DevSecOps</span></a>, <a href="https://hachyderm.io/tags/Networks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Networks</span></a>, <a href="https://hachyderm.io/tags/Terraform" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Terraform</span></a>, <a href="https://hachyderm.io/tags/FastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastAPI</span></a>, and <a href="https://hachyderm.io/tags/Terraform" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Terraform</span></a>. </p><p>&gt; Get the resources you need to go from a novice coder and to a seasoned pro with a budding career—and help support Code For America! <a href="https://www.humblebundle.com/books/linux-from-beginner-to-professional-oreilly-books" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">humblebundle.com/books/linux-f</span><span class="invisible">rom-beginner-to-professional-oreilly-books</span></a> </p><p><a href="https://hachyderm.io/tags/developer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>developer</span></a> <a href="https://hachyderm.io/tags/foss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>foss</span></a> <a href="https://hachyderm.io/tags/oss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oss</span></a> <a href="https://hachyderm.io/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://hachyderm.io/tags/technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>technology</span></a> <a href="https://hachyderm.io/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://hachyderm.io/tags/learntocode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>learntocode</span></a> <a href="https://hachyderm.io/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a> <a href="https://hachyderm.io/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
JB Lièvremont<p>Voyons le bon côté des choses : grâce au teasing du fameux recruteur, je découvre <a href="https://mastodon.social/tags/fastapi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastapi</span></a> en <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> </p><p>Qui a le gros avantage de ressembler à plein de frameworks Web serveur, avec 2/3 trucs sympa (genre l'intégration native OpenAPI basée sur les annotation de type, c'est pas mal).</p>
spla :senyera: :fed: :vim:<p>Tots els quadres blaus a sota i a la dreta del 9 de juny de 2024 mostren totes les vegades que he afegit codi al projecte <a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a>, servidor ActivityPub que he estic programant des de zero amb <a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> i <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a>. <br> <br><a href="https://codeberg.org/spla/appy" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/spla/appy</span><span class="invisible"></span></a></p>
spla :senyera: :fed: :vim:<p>Missatges que mostra en la consola el servidor ActivityPub <a href="https://mastodont.cat/tags/appy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>appy</span></a> quan el posem en marxa.</p><p>appy necessita <a href="https://mastodont.cat/tags/Postgresql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Postgresql</span></a> i <a href="https://mastodont.cat/tags/Redis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Redis</span></a>. Al iniciar verifica que aquests dos serveis estiguin disponibles i que pot connectar-hi.</p><p><a href="https://mastodont.cat/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodont.cat/tags/fastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastAPI</span></a></p>
Oskar<p><span class="h-card" translate="no"><a href="https://ieji.de/@anselmschueler" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>anselmschueler</span></a></span> OTOH, a regular complaint about <a href="https://mastodon.nu/tags/fastapi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastapi</span></a> is the number of open PRs and a single maintainer</p>
Anselm Schüler<p>This is really off-putting. This is a checkbox they make you tick to post on FastAPI's GitHub Discussions.</p><p><a href="https://ieji.de/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://ieji.de/tags/fastapi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastapi</span></a> <a href="https://ieji.de/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
Winnie 🏳️‍🌈<p>Mitte nächsten Jahres werde ich meinen aktuellen Arbeitgeber <span class="h-card" translate="no"><a href="https://wisskomm.social/@Thuenen_aktuell" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Thuenen_aktuell</span></a></span> verlassen. Die Stelle ist jetzt aber neu ausgeschrieben, falls hier jemand darauf Lust hat: <a href="https://www.thuenen.de/de/thuenen-institut/karriere/stellenangebote?tx_nnti_stellenanzeigen%5Baction%5D=detail&amp;tx_nnti_stellenanzeigen%5Bstelle%5D=5815&amp;cHash=3acb4a25f57cf791d0f334fcb6bee15a" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">thuenen.de/de/thuenen-institut</span><span class="invisible">/karriere/stellenangebote?tx_nnti_stellenanzeigen%5Baction%5D=detail&amp;tx_nnti_stellenanzeigen%5Bstelle%5D=5815&amp;cHash=3acb4a25f57cf791d0f334fcb6bee15a</span></a></p><p>Ein Team gibt es nicht, aber dafür zwei sehr sympathische IT-Kollegen im gleichen Institut. Bei Arbeitsbeginn zum 01.04. gibt es auch noch 10-20 Arbeitstage Überlappung / Einarbeitung mit mir.</p><p>In der Stellenausschreibung steht zwar "grundsätzliche Möglichkeit der Teilzeitbeschäftigung" und ich habe das auch genutzt, kann es aber nicht empfehlen. De facto habe ich so viele Überstunden gemacht, dass es fast ein Vollzeitjob war (einen Großteil der Überstunden konnte ich aber jetzt als Urlaub ausgleichen).</p><p><a href="https://mastodon.de/tags/JobOffer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JobOffer</span></a> <a href="https://mastodon.de/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://mastodon.de/tags/FastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastAPI</span></a> <a href="https://mastodon.de/tags/TypeScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TypeScript</span></a> <a href="https://mastodon.de/tags/React" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>React</span></a> <a href="https://mastodon.de/tags/FullStack" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FullStack</span></a></p>
Luis Natera<p>I have been working with <a href="https://fosstodon.org/tags/FastAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FastAPI</span></a> for around 1.5 years now, and one of the things that I miss most from <a href="https://fosstodon.org/tags/Django" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Django</span></a> is the community. Definetly will keep building my side projects in <a href="https://fosstodon.org/tags/Django" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Django</span></a> 100%</p>
Geotribu<p>🌍 Want to chat with the <a href="https://mapstodon.space/tags/GIS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GIS</span></a> fellows, directly inside <a href="https://mapstodon.space/tags/QGIS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QGIS</span></a> ?</p><p>It's now possible, with the Geotribu's "QTribu" plugin and its new <a href="https://mapstodon.space/tags/QChat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QChat</span></a> pannel</p><p>The <a href="https://mapstodon.space/tags/QTribu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QTribu</span></a> plugin can be installed from the official repository.</p><p>👨‍💻 You can setup your own backend instance following GitHub repo : <a href="https://github.com/geotribu/gischat" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/geotribu/gischat</span><span class="invisible"></span></a></p><p><a href="https://mapstodon.space/tags/gischat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gischat</span></a> <a href="https://mapstodon.space/tags/fastapi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastapi</span></a> <a href="https://mapstodon.space/tags/websocket" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>websocket</span></a></p>
Daniel<p>After playing around with the idea, I finally added a Web UI to Housaku, the personal search engine I'm building on top of SQLite's FTS5. 🙌</p><p>In the near future, I will also add a TUI using Textual and make some improvements to the CLI.</p><p><a href="https://github.com/dnlzrgz/housaku" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/dnlzrgz/housaku</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/searchengine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>searchengine</span></a> <a href="https://mastodon.social/tags/personaldata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>personaldata</span></a> <a href="https://mastodon.social/tags/fastapi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fastapi</span></a> <a href="https://mastodon.social/tags/webui" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webui</span></a> <a href="https://mastodon.social/tags/sqlite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sqlite</span></a></p>