betterproto2-compiler 0.0.1__py3-none-any.whl → 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,9 +105,9 @@ def get_type_reference(
105
105
  compiling_google_protobuf = current_package == ["google", "protobuf"]
106
106
  importing_google_protobuf = py_package == ["google", "protobuf"]
107
107
  if importing_google_protobuf and not compiling_google_protobuf:
108
- py_package = ["betterproto", "lib"] + (["pydantic"] if pydantic else []) + py_package
108
+ py_package = ["betterproto2", "lib"] + (["pydantic"] if pydantic else []) + py_package
109
109
 
110
- if py_package[:1] == ["betterproto"]:
110
+ if py_package[:1] == ["betterproto2"]:
111
111
  return reference_absolute(imports, py_package, py_type)
112
112
 
113
113
  if py_package == current_package: