Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def junction(self, value):
self._table._header_junction = ensure_type(value, basestring)
"intersect_header_left",
"intersect_header_mid",
"intersect_header_right",
"intersect_row_left",
"intersect_row_mid",
"intersect_row_right",
"intersect_bottom_left",
"intersect_bottom_mid",
"intersect_bottom_right",
)
if to_unicode(name) in attrs:
warnings.warn(
deprecation_message(name, "1.0.0", "1.2.0", None),
FutureWarning,
)
value = ensure_type(value, basestring, name)
super(BeautifulTable, self).__setattr__(name, value)
def junction(self, value):
self._junction = ensure_type(value, basestring)
def separator(self, value):
self._table._column_separator = ensure_type(value, basestring)
def separator(self, value):
self._table._row_separator = ensure_type(value, basestring)