Jayraj Dulange
Jayraj Dulange
> The bug is straightforward to fix: it shouldn't specify `observer` for the final frame if the final frame doesn't use that attribute. Correct me if I'm wrong, but this...
Since its a temporary fix which could be removed once #7172 is fixed, does this require a changelog?
> I would like a feature changelog and a unit test to ensure that the warning is raised please. > > Can you also rename the pull request. On it...
In my initial approach, I was tempted to utilize Python's built-in globals() function to monitor the active context managers. However, this method proved ineffective for tracking across multiple modules. As...
> The precommit check is also failing, if you can fix that too please. Done!
I was just wondering, now that we have a global context tracker, should all the remaining context managers be modified to include the enter and exit methods applied?
> I don't see the use case? I don't have a particular use case in mind, but I was suggesting in general, as it can help in maintaining uniformity of...
> I spoke to the other maintainers and they suggested that instead of the class, we can create a custom decorator (e.g., @sunpycontextmanager) that handles the entry/exit code. It should...
@nabobalis Sorry for the delay! I've got the decorator in place and even wrote a test for it. Dealing with both the decorator and context managers was a bit tricky,...
> Can you update the branch and see if that fixes the tests. If not, then something is going on in this PR and we have to track that down....