Skip to content

[Quick Question] Duplicate set of user_context in SparkConnect Client #56408

Description

@franciscoabsampaio

Hi, (sorry if this is a stupid question)

In lines 1215 and 1330 of

The same thing is done (in code that runs sequentially):

if self._user_id:
    req.user_context.user_id = self._user_id

although I see no reason why it should be different. This has been the case for a while (at least since 3.5).

Can anyone explain why it's there, and why it is not duplicate?

Thanks 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions