-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
We should add a kwarg to motor.metaprogramming.AsyncCommand to add DeprecationWarnings to asynchronized command wrappers.
For example, the AgnsoticDatabase.fsync helper could be deprecated via this newly added kwarg as follows:
fsync = AsyncCommand(deprecation_msg="fsync is deprecated. Use client.admin.command('fsync') instead.")