Closed MatthewBaggins closed 1 year ago
Confirmed working in my fork 👍
What's new in each module, rather than merely refactored
approve
to any message with contained appropriate GDoc links and they surprised when Stampy didn't set the relevant question(s) to Live on site
. This puts an end to that surprise.I wanted to have a type that would specify a few types of question queries: by (1) title (2) gdoc link(s) (one or more) (3) last question that stampy interacted with (4) specified status and/or tag and/or maximum number of questions that I want to get. Something like Rust's enums would be ideal (see Listing 6.2 here), but Python doesn't have that. So I opted for a way that is very non-pythonic but probably very efficient and type-checker-friendly, i.e., using a union of 2-tuples, where the first element is a string literal specifying a type of query and the second is information specifying that query.
questions.py
toquestion_setter.py
, by @ProducerMatt 's suggestionquestions.py
andquestion_setter.py
andbuild_help.py
, which renders a markdown from themquestions.py
class_name
attribute from individualModule
subclasses and added it to the parent class as a property__init__
s were no longer necessary because now they contained onlysuper().__init__()
, which is there by default