Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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
shotgun_api3/shotgun.py Outdated Show resolved Hide resolved
julien-lang
julien-lang previously approved these changes Dec 20, 2024
Base automatically changed from ticket/SG-37544 to master January 28, 2025 19:59
@carlos-villavicencio-adsk carlos-villavicencio-adsk dismissed stale reviews from julien-lang and eduardoChaucaGallegos January 28, 2025 19:59

The base branch was changed.

shotgun_api3/shotgun.py Outdated Show resolved Hide resolved
shotgun_api3/shotgun.py Outdated Show resolved Hide resolved
tests/test_unit.py Outdated Show resolved Hide resolved
shotgun_api3/shotgun.py Outdated Show resolved Hide resolved
Co-authored-by: Julien Langlois <16244608+julien-lang@users.noreply.github.com>
tests/test_unit.py Show resolved Hide resolved
@carlos-villavicencio-adsk carlos-villavicencio-adsk merged commit b83b9e2 into master Feb 7, 2025
24 checks passed
@carlos-villavicencio-adsk carlos-villavicencio-adsk deleted the ticket/SG-37548 branch February 7, 2025 14:10
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.