Skip to content

Project inference is broken under Python 3.5.1 #1470

@jlowin

Description

@jlowin

Project inference takes place in _determine_default_project(), which hands off to _compute_engine_id(). That returns the correct value -- but as bytes. The Client class checks if the project value is a str (using six.string_types) and raises an error because it is not (that code is here).

Metadata

Metadata

Assignees

Labels

api: coretype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions