def find_scopes_for_services(service_names=None):
  result_scopes = []
  if service_names is None:
    for service_name, scopes in AUTH_SCOPES.iteritems():
      result_scopes.extend(scopes)
  else:
    for service_name in service_names:
      result_scopes.extend(AUTH_SCOPES[service_name])
  return result_scopes
Declare the units for this Measurement, returns self for chaining.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/find_scopes_for_services--crossover with--dataset/ETHPy150Open google/openhtf/openhtf/util/measurements.py/Measurement.WithUnits