* include includeDerivedMembership option
in command gam course xxx sync students|teachers group yyyy
I add alternative option group_inde (INclude DErived)
* Avoid interference of new includeDerivedMembership
taers232c suggestion to avoid unexpected interference
```
$ gam calendar testsimple@rdschool.org addevent start 2020-05-17T08:00:00-07:00 end 2020-05-17T09:00:00-07:00 recurrence "RRULE:FREQ=WEEKLY;WKST=SU;COUNT=13;BYDAY=MO" summary "Monday Morning Meeting"
Traceback (most recent call last):
File "/Users/Ross/Documents/GoogleApps/GAMO/gam.py", line 11, in <module>
main(sys.argv)
File "/Users/Ross/Documents/GoogleApps/GAMO/gam/__main__.py", line 45, in main
sys.exit(gam.ProcessGAMCommand(sys.argv))
File "/Users/Ross/Documents/GoogleApps/GAMO/gam/__init__.py", line 14413, in ProcessGAMCommand
gapi_calendar.addOrUpdateEvent('add')
File "/Users/Ross/Documents/GoogleApps/GAMO/gam/gapi/calendar.py", line 350, in addOrUpdateEvent
sendUpdates, body = getEventAttributes(i, calendarId, cal, body, action)
File "/Users/Ross/Documents/GoogleApps/GAMO/gam/gapi/calendar.py", line 537, in getEventAttributes
if not timeZone:
UnboundLocalError: local variable 'timeZone' referenced before assignment
```
* Update gam report usageparamaters to account for Google API change
* Use _check_full_data_available in report usageparameters
* Code cleanup
* Code cleanup part 2
* Code cleanup part 3
My apologies. I fixed my version, then added the code in your __init__.py to loop and wait for the not found error to disappear. By then, however, the error stopped occurring and I didn't notice that errors.py wasn't recognizing the error.
Automatic fixes produced by yapf formatting using `--style=google`, as
well as common pre-commit checks such as trailing whitespace removal,
double quote fixer, and newlines at the end of a file.
* invalid_grant: The account has been deleted - Recently deleted, still exists
* invalid_request: Invalid impersonation "sub" field - Long gone
Adds a pre-commit config for development that runs several fixers, including YAPF with
"google" style and pylint for static analysis.
Use of `requirements-dev.txt` appears to be a common pattern for this
type of work:
https://pypi.org/project/requirements-dev.txt/