flask-redis icon indicating copy to clipboard operation
flask-redis copied to clipboard

enhancement: mockredis with connection uri

Open mochic opened this issue 7 years ago • 3 comments

hey

  • really appreciate this extension, it's made my life a lot easier (as is with most flask extensions)
  • mongoengine supports mocking via connection uri: mongomock://...
  • this sort of behavior greatly simplifies switching between application test/dev/prod for some application architectures
  • would you be open to adding this sort of functionality via something like uri: mockredispy://...
  • would be happy to submit a simple pr asap

mochic avatar Jul 27 '18 01:07 mochic

Hey @mochic! Apologies for the super late response. This does sound like a great idea and I'd absolutely accept a PR for it. Otherwise, I'll hopefully find some time soon to do it myself.

underyx avatar Feb 24 '20 14:02 underyx

@underyx Literally just got swamped with more work than is typical but I'll try to submit a pr for this (within next couple of days?) if you havent added it in already.

mochic avatar Feb 28 '20 23:02 mochic

@underyx kinda bogged down with work stuff and the current crisis in Seattle so...I'll try to get to this soon. Sorry for the delays.

mochic avatar Mar 17 '20 06:03 mochic