<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?action=history&amp;feed=atom&amp;title=Python%3AChapter</id>
	<title>Python:Chapter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?action=history&amp;feed=atom&amp;title=Python%3AChapter"/>
	<link rel="alternate" type="text/html" href="http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?title=Python:Chapter&amp;action=history"/>
	<updated>2026-05-20T00:35:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?title=Python:Chapter&amp;diff=1966&amp;oldid=prev</id>
		<title>Sysop: modified through wikirestore by Sysop</title>
		<link rel="alternate" type="text/html" href="http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?title=Python:Chapter&amp;diff=1966&amp;oldid=prev"/>
		<updated>2023-04-05T07:23:29Z</updated>

		<summary type="html">&lt;p&gt;modified through wikirestore by Sysop&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;from dataclasses import dataclass&lt;br /&gt;
from typing import Optional&lt;br /&gt;
import dacite&lt;br /&gt;
@dataclass&lt;br /&gt;
class Chapter:&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    a chapter of a lecture&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    pageTitle:str&lt;br /&gt;
    key:Optional[str] # The key of the presentation for this Chapter &lt;br /&gt;
    no:Optional[str] # The number of the Chapter &lt;br /&gt;
    pres_id:Optional[str] # The numeric id of the presentation for the Chapter &lt;br /&gt;
    week:Optional[str] # The relative week of the Chapter &lt;br /&gt;
    de:Optional[str] # Das Thema des Kapitels in deutsch&lt;br /&gt;
    en:Optional[str] # The topic of the chapter in english&lt;br /&gt;
&lt;br /&gt;
    @classmethod&lt;br /&gt;
    def askQuery(cls):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        get the ask Query for Chapter&lt;br /&gt;
        &lt;br /&gt;
        Returns:&lt;br /&gt;
            str: the mediawiki markup for the ask query&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        ask=&amp;quot;&amp;quot;&amp;quot;{{#ask: [[Concept:Chapter]]&lt;br /&gt;
|mainlabel=pageTitle&lt;br /&gt;
|?Chapter key = key&lt;br /&gt;
|?Chapter no = no&lt;br /&gt;
|?Chapter pres_id = pres_id&lt;br /&gt;
|?Chapter week = week&lt;br /&gt;
|?Chapter de = de&lt;br /&gt;
|?Chapter en = en&lt;br /&gt;
| limit=200&lt;br /&gt;
|sort=Chapter no&lt;br /&gt;
|order=ascending&lt;br /&gt;
}}&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        return ask&lt;br /&gt;
        &lt;br /&gt;
    @classmethod&lt;br /&gt;
    def fromDict(cls,data:dict):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        create a Chapter from the given dict&lt;br /&gt;
        &lt;br /&gt;
        Args:&lt;br /&gt;
            data(dict): the dict to create the Chapter from&lt;br /&gt;
        &lt;br /&gt;
        Returns:&lt;br /&gt;
            Chapter: the freshly created Chapter&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        chapter=dacite.from_dict(data_class=cls,data=data)&lt;br /&gt;
        return chapter&lt;/div&gt;</summary>
		<author><name>Sysop</name></author>
	</entry>
</feed>