yobx.translate.make_helper#

yobx.translate.make_helper.make_ref_attribute(key: str, attr_type: int, ref_attr_name: str | None = None) AttributeProto[source]#

Creates an attribute.

Parameters:
  • key – attribute name

  • attr_type – attribute type

  • ref_attr_name – if not None, link this attribute to a function attribute

Returns:

attribute