Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

310
Views
fastapi 0.73.0 problema: TypeError: '<' no compatible

Mi código funciona bien para fastapi==0.72.0. Pero para fastapi==0.73.0, arroja el siguiente error.

TypeError: '<' no se admite entre instancias de 'NoneType' e 'int'

Resto, no hay cambio en el código para las 2 versiones.

Se rompe en la respuesta call_next (su función endpoint_function en mi caso)

 #middleware added @project.middleware("http") async def request_check(request:Request,endpoint_function): token=request.headers.get("token") request_url=request["path"] url_4th=str(request.url).split("/")[3] #public endpoint check if url_4th=="public" or url_4th=="": response=await endpoint_function(request) return response
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!