migration classes¶
Note
These classes are just here in the doct for completeness. The two classes below have been used to migrate the data from the old wetterturnier system into the new one. They are not properly documented and please do not use these classes. as they are not made for operational use, but specifically designed for data migration for Wetterturnier.de.
Todo
Remove these files in the near future.
importbets.importbets¶
-
class
importbets.
importbets
(config, file_forced)[source]¶ USED TO IMPORT OLD ARCHIVE DATA FROM THE OLD WETTERTURNIER. AS I WILL NEVER USE THIS ROUTINE AGAIN I DONT DO THE DOCUMENTATION FOR ALL THE METHODS IN HERE.
Parameters: - config (
dict
) – Configuration dict fromutils.readconfig()
. - file_forced (
str
) – File to force in.
Todo
Migration script. Remove in the near future!
- config (
migrategroups.migrategroups¶
-
class
migrategroups.
migrategroups
(config)[source]¶ Downloading the groups list file from wetterturnier.de, Parse the content and create groups and its users if they are not allready existing.
Was reading a file called
raw/migrategroups.txt
and to migrate groups and group users.Parameters: config ( dict
) – Config dict fromutils.readconfig()
.Todo
Remove this file in the near future, was a migration script.