fix: modules referenced in MapField message type are properly aliased by software-dov · Pull Request #654 · googleapis/gapic-generator-python · GitHub
Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

fix: modules referenced in MapField message type are properly aliased#654

Merged
software-dov merged 1 commit into
googleapis:masterfrom
software-dov:bigtable-admin-fixings
Oct 13, 2020
Merged

fix: modules referenced in MapField message type are properly aliased#654
software-dov merged 1 commit into
googleapis:masterfrom
software-dov:bigtable-admin-fixings

Conversation

@software-dov

Copy link
Copy Markdown
Contributor

This was noticed when attempting to generate Bigtable Admin in a
message definition: an imported module is given an alias to prevent
collision with a field name. When the module is referenced to describe
the type of a singleton field it is properly disambiguated. When used
to describe the type of a MapField it is not disambiguated.

Fix for that.

Closes #618

This was noticed when attempting to generate Bigtable Admin in a
message definition: an imported module is given an alias to prevent
collision with a field name. When the module is referenced to describe
the type of a singleton field it is properly disambiguated. When used
to describe the type of a MapField it is _not_ disambiguated.

Fix for that.

Closes googleapis#618
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 13, 2020
@codecov

codecov Bot commented Oct 13, 2020

Copy link
Copy Markdown

Comment thread gapic/schema/wrappers.py
Comment thread gapic/schema/wrappers.py
@software-dov software-dov merged commit 2c79349 into googleapis:master Oct 13, 2020
@software-dov software-dov deleted the bigtable-admin-fixings branch October 13, 2020 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Map field message definitions do not consistently use module alias disambiguation

2 participants