Skip to content

Conversation

@dshafer
Copy link
Collaborator

@dshafer dshafer commented Mar 31, 2022

No description provided.

@dshafer dshafer requested a review from bgrant March 31, 2022 04:02
@salesforce-cla
Copy link

Thanks for the contribution! It looks like @dshafer is an internal user so signing the CLA is not required. However, we need to confirm this.

from .utils import locate_object, rate_limit_exceeded

try:
from dirtyfields.dirtyfields import reset_state
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do? I don't see it used anywhere.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh can be removed; I missed it. Originally I thought that the manager update_or_create method wouldn't manage the dirty state properly, but it turns out that it does

class _TestResource:
def is_dirty(self, check_relationship=False):
return True
class _TestEndpoint1(machinery.EndpointDefinition):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the tests

@bgrant bgrant merged commit d507423 into chore/fix-saves Apr 18, 2022
@bgrant bgrant deleted the chore/fix-saves-drew-edits branch April 18, 2022 20:47
bgrant added a commit that referenced this pull request May 2, 2022
* fix BoundEndpointManager get_response saves

* Remove unused code

Co-authored-by: Robert David Grant <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants