Uploaded image for project: 'Synapse Python Client'
  1. SYNPY-706

syn.username can cause attribute not found if user not logged in

    Details

    • Type: Task
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: py-1.8.0
    • Fix Version/s: py-1.8.1
    • Component/s: None
    • Labels:
      None

      Description

      need to add code to the username @property:

      if self.credentials is None:
          return None
      return self.credentials.username
      

        Designs

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  ziming.dong Ziming Dong
                  Reporter:
                  ziming.dong Ziming Dong
                  Validator:
                  Kimyen Truong
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: