html_compose.attributes.ins_attrs

 1from . import BaseAttribute
 2
 3
 4class InsAttrs:
 5    """
 6    This module contains functions for attributes in the 'ins' 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        "ins" 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        "ins" 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 InsAttrs:
 5class InsAttrs:
 6    """
 7    This module contains functions for attributes in the 'ins' 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        "ins" 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        "ins" 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 'ins' element. Which is inherited by a class so we can generate type hints

@staticmethod
def cite(value) -> html_compose.base_attribute.BaseAttribute:
11    @staticmethod
12    def cite(value) -> BaseAttribute:
13        """
14        "ins" 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)

"ins" 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

@staticmethod
def datetime(value) -> html_compose.base_attribute.BaseAttribute:
28    @staticmethod
29    def datetime(value) -> BaseAttribute:
30        """
31        "ins" 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)

"ins" 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