Skip to content

Return typing incorrect for group_api/assign_user_to_group#576

Description

@CoMPaTech

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
    Before submitting a bug report, we ask that you first search existing issues and pull requests to see if someone else may have experienced the same issue or may have already submitted a fix for it.

Python Version & Okta SDK Version(s)

Python v3.14.x
okta 3.4.4

Affected Class/Method(s)

return set to None which makes pypi complain (for obvious reasons)

Customer Information

Organization Name: undisclosed
Paid Customer: yes

Code Snippet

(data, resp, err) = await self.okta.assign_user_to_group( # type: ignore[func-returns-value, misc]
group_id=my_group_id,
user_id=my_user_id,
)

Debug Output / Traceback

func-returns-value

Expected Behavior

Properly address (possible) return values

Actual Behavior

mypy complaints

Steps to reproduce

  1. Run the code snippet provided above.

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions