fhir-py icon indicating copy to clipboard operation
fhir-py copied to clipboard

Unable to use client attr because it is used by our client

Open ruscoder opened this issue 5 years ago • 1 comments

Let's remove self.client to self._client

ruscoder avatar Mar 23 '20 06:03 ruscoder

I'm thinking about _client extenstion in FHIR Resources, so, maybe to choose another name

ruscoder avatar Aug 02 '23 10:08 ruscoder

Renamed to __client__ in 2.0.0

ruscoder avatar Aug 03 '24 19:08 ruscoder

sessions = (
            await fhir_client.resources("Session")
            .search(Raw(**{"user:User.id": user.id}))
            .fetch_all()
        )

raises

TypeError: BaseResource.__init__() got multiple values for argument 'client'

because the first argument of BaseResource is still named client. It needs to be renamed as well.

ruscoder avatar Nov 04 '24 07:11 ruscoder