html_compose.attributes.del_attrs
1from . import BaseAttribute 2 3 4class DelAttrs: 5 """ 6 This module contains functions for attributes in the 'del' element. 7 Which is inherited by a class so we can generate type hints 8 """ 9 10 @staticmethod 11 def cite(value) -> BaseAttribute: 12 """ 13 "del" attribute: cite 14 Link to the source of the quotation or more information about the edit 15 16 Args: 17 value: 18 Valid URL potentially surrounded by spaces 19 20 Returns: 21 An cite attribute to be added to your element 22 23 """ 24 25 return BaseAttribute("cite", value) 26 27 @staticmethod 28 def datetime(value) -> BaseAttribute: 29 """ 30 "del" attribute: datetime 31 Date and (optionally) time of the change 32 33 Args: 34 value: 35 Valid date string with optional time 36 37 Returns: 38 An datetime attribute to be added to your element 39 40 """ 41 42 return BaseAttribute("datetime", value)
class
DelAttrs:
5class DelAttrs: 6 """ 7 This module contains functions for attributes in the 'del' element. 8 Which is inherited by a class so we can generate type hints 9 """ 10 11 @staticmethod 12 def cite(value) -> BaseAttribute: 13 """ 14 "del" attribute: cite 15 Link to the source of the quotation or more information about the edit 16 17 Args: 18 value: 19 Valid URL potentially surrounded by spaces 20 21 Returns: 22 An cite attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("cite", value) 27 28 @staticmethod 29 def datetime(value) -> BaseAttribute: 30 """ 31 "del" attribute: datetime 32 Date and (optionally) time of the change 33 34 Args: 35 value: 36 Valid date string with optional time 37 38 Returns: 39 An datetime attribute to be added to your element 40 41 """ 42 43 return BaseAttribute("datetime", value)
This module contains functions for attributes in the 'del' element. Which is inherited by a class so we can generate type hints
11 @staticmethod 12 def cite(value) -> BaseAttribute: 13 """ 14 "del" attribute: cite 15 Link to the source of the quotation or more information about the edit 16 17 Args: 18 value: 19 Valid URL potentially surrounded by spaces 20 21 Returns: 22 An cite attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("cite", value)
"del" attribute: cite Link to the source of the quotation or more information about the edit
Args: value: Valid URL potentially surrounded by spaces
Returns: An cite attribute to be added to your element
28 @staticmethod 29 def datetime(value) -> BaseAttribute: 30 """ 31 "del" attribute: datetime 32 Date and (optionally) time of the change 33 34 Args: 35 value: 36 Valid date string with optional time 37 38 Returns: 39 An datetime attribute to be added to your element 40 41 """ 42 43 return BaseAttribute("datetime", value)
"del" attribute: datetime Date and (optionally) time of the change
Args: value: Valid date string with optional time
Returns: An datetime attribute to be added to your element