Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SG-37548 Add payload optimization on update method #363

Open
wants to merge 4 commits into
base: ticket/SG-37544
Choose a base branch
from

Conversation

carlos-villavicencio-adsk
Copy link
Contributor

Summary

This is a follow up work from #360 in this case including support for update method.

Affected methods

  • update

Detailed Description

The change should transform calls like:

sg.update(
    "Asset", 123,
    {
        "name": "Some name",
        "project": {
            "created_at": datetime.datetime(2015, 12, 16, 11, 2, 10, tzinfo),
            "id": 72,
            "name": "Demo: Game",
            "type": "Project",
        },
    },
)

as if the following had been called:

sg.update('Asset', 123, {'name': 'Some name', 'project' : {'id': 72, 'type': 'Project'}})

@carlos-villavicencio-adsk carlos-villavicencio-adsk changed the base branch from master to ticket/SG-37544 December 20, 2024 13:33
@carlos-villavicencio-adsk carlos-villavicencio-adsk requested a review from a team December 20, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants