search

Home  >  Q&A  >  body text

How to use decorator to process redis operations in Python?

In python, decorators are used to process redis operations (including adding, deleting, modifying, and checking some operations). How to deal with it

習慣沉默習慣沉默2790 days ago1023

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-16 13:22:00

    What is the original purpose of using decorators?
    Used to save the return value of a function?

    reply
    0
  • Cancelreply