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

318
Views
¿Es posible almacenar en caché los valores de las funciones en fastapi?

tengo una ruta

 def some_function(value): fetch metadata for value from another api ..... return some_data app.route("/"): def something(value): data = call_function(value) process.. data... return data I am wondering if there is a way to cache the output of some_function(value)

Tengo una interfaz que llama a este punto final cada pocos minutos y some_function obtiene metadatos en cada llamada. parece un desperdicio de una llamada, especialmente si la herramienta lejana se ha visto afectada de alguna manera. ¿Hay alguna manera de almacenar los datos y regresar rápidamente en este caso?

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!