[BUG] Fix Context Manager methods in FFdecoder API
Closed this issue · 0 comments
abhiTronix commented
Brief Description
As mentioned in PEP 343, Context managers provide __enter__()
and __exit__()
methods that are invoked on entry to and exit from the body of the with
statement. Currently, these context managers methods are completely unusable in FFdecoder API, and need rework. Plus related docs and unittest are missing .
Acknowledgment
- I have searched the issues for my issue and found nothing related or helpful.
- I have read the DeFFcode Documentation.
- I have read the DeFFcode Issue Guidelines.
Current Environment
- My DeFFcode version: v0.2.3
- My Python version: all
- My Pip version: latest
- My Operating System and its version: all
Expected Behavior
Must be able to use context manager methods using ‘with’ and ‘as’ keywords in FFdecoder API
Actual Behavior
Unusable and throws NameError