Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/birdpost #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Pazze12
Copy link
Contributor

@Pazze12 Pazze12 commented Nov 2, 2022

Fragen:

  • Was kann ich besser machen?

  • Was ist wenn ich ein job skip'n muss wenn zum Beispiel die Ausdaueranforderung zu groß - dann müsste ich den Index erhöhen aber dann kommt in der Liste der Birds ein Error da diese Liste nicht so lang ist.

  • Birds.py erstellen und Infos dort sammeln???

# -*- coding: utf-8 -*-

import logging

class Vogel():
    """
    Diese Daten-Klasse enthält alle wichtigen Informationen über die Vogelpost.
    """
    __birdPostAvailability = None
    __housesavailable = None

    def __init__(self, httpConnection):
        self._httpConn = httpConnection
        self._logVogel = logging.getLogger('bot.Vogel')
        self._logVogel .setLevel(logging.DEBUG)

    def setBirdPostAvailability(self, bAvl):
        self.__birdPostAvailability = bAvl

    def isBirdPostAvailable(self):
        return self.__birdPostAvailability
       
   ...

Prüfung beim Aufruf hat man überhaupt eine Vogelpost....

@MasterZydra MasterZydra mentioned this pull request Jan 4, 2024
@MasterZydra MasterZydra force-pushed the master branch 2 times, most recently from 76dc72a to 7ca953e Compare February 28, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant