tgrx / oyabun Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
datetime etc.
readme is fixd
Only authored users may deploy to PyPI.
The release MUST be created on GitHub as well.
Need a test bot with long polling.
It must track users/chats and their state (stage).
The test must be sequential.
Bot should display whatever it can, step by step according to user's acceptance or input.
https://github.com/Melevir/flake8-cognitive-complexity
Now its CC=24
https://core.telegram.org/bots/api#formatting-options
parse_mode: Optional[str] = None
Unable to create a Message using a from_
key arg:
from consigliere.telegram import Message, Chat, User
m = Message(
message_id=1,
date="2020-01-01T00:00:00Z",
chat=Chat(id=1),
from_=User(id=1, is_bot=True, first_name="fn"),
)
assert m.from_ is not None # fails!
Possible solution:
class _Base(BaseModel):
def dict(self, **kw):
kw["by_alias"] = True
def json(self, **kw):
kw["by_alias"] = True
class X(_Base):
from_: int = Field(..., alias="from")
class Config:
allow_population_by_field_name = True
x = X(from_=1)
y = X(**{"from": 1})
assert x.dict() == {"from": 1}
assert y.dict() == {"from": 1}
Remove redundant Union
s.
errors on uploading coverage.xml: no found - see CI logs
check: The photo's width and height must not exceed 10000 in total.
check: Width and height ratio must be at most 20.
it is redundand and was never used
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.