Yang Bo

Results 13 comments of Yang Bo

This issue is found in one of my test server which has little memory, in a scheduled task loop which cause memory usage too high, had to reboot after running...

yes,don't create instance repeatedly if not necessary,agree that.

Have to write complex json loader and dumper of class without json_serializable by now, really looking forward to this update.

@Milad-Akarie thanks. BTW: Is it possible to make the generated router config file more clean and readable?

@Milad-Akarie I mean the generated router file imports all files as alias, it's not a big deal. ![image](https://user-images.githubusercontent.com/1195951/127768510-547b024b-5148-48e8-8788-960ca211111e.png)

> try my fork [cheng6563/intellij-spring-assistant@`main`/dist/intellij-spring-assistant-1.0.2a.zip](https://github.com/cheng6563/intellij-spring-assistant/blob/main/dist/intellij-spring-assistant-1.0.2a.zip?rgh-link-date=2021-10-27T07%3A30%3A25Z) > > @jianfenHub @aaaweisen works fine. thanks

``` from sqlalchemy import create_engine, Column, Integer, JSON, Index, text from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker engine = create_engine("mysql+pymysql://root:[email protected]:3306/test?charset:utf8mb4") Base = declarative_base() class TestModel(Base): __tablename__ = "test_table" __table_args__...

I'm using flask-sqlalchemy and flask-migrate which provide "flask db migration" command to do migration based on albemic. The simple test case is: ``` class TestModel(Base): __tablename__ = "test_table" id =...

found another repository in typescript: [openapi-typescript-codegen](https://github.com/ferdikoomen/openapi-typescript-codegen)

针对python的sdk,看到业务回调需要依赖pymysql的cursor对象。希望业务代码回调能支持基于sqlalchemy的session的形式。补充:查阅barrier.py中使用cursor主要是用来执行commit, rollback,具体行为和session相似,只是对dtm_barrier表的写操作获取affected数量还不太确定session是否可以达成和cursor相同的效果。