Skip to content

NameError: name 'six' is not defined #199

@razvanbalosin

Description

@razvanbalosin

There appears to be a reference to six which was removed in a previous commit [Removal of Python 2 support (#188)] in google/ads/google_ads/v2/services/enums.py

Which is throwing an error when accessing enums without the client. i.e.

from google.ads.google_ads.v2.services.enums import AdvertisingChannelTypeEnum
AdvertisingChannelTypeEnum.AdvertisingChannelType.SEARCH
File ".../google/ads/google_ads/v2/services/enums.py", line 88, in __getattribute__
    six.exec_(class_def_src, {'enum': enum},
NameError: name 'six' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions