Josh Yu
Josh Yu
```bash raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (django-filter 2.0.0 (/usr/local/python3.6/lib/python3.6/site-packages), Requirement.parse('django-filter~=1.1'), {'djangorestframework-filters'}) ``` Same problem!
@EwanBerg 最近一直有发布版本,应该是有人在维护啦,你这个 issue 可以关闭了吧 😂
Nameko using RPC over AMPQ Should work well in Service Mesh?
Django and Flask-Babel i18n follow GNU gettext http://www.gnu.org/software/gettext/. Django and Babel are not just handle the international issue but localization issue. So maybe we can start a new project named...
没有使用 common 的方式,只是正常将一个 component 被 2 个 page 引用,就空白了。
@tqq1994516 对于这个问题: > 并且from bali.schemas import model_to_schema这个函数转化有关系字段的模型(relationship/association_proxy)也有问题 我建立了一个 demo: ```python # main.py from pydantic import BaseSettings from bali import Bali, Schema, Resource, db from bali.decorators import action from sqlalchemy import...
包含 `Relationship` 的 Model 的实例化,我这边也是可以正常实例化的。期望你可以提供更多完整的代码方面大家验证。
> File "D:\project\test_platform\backend\main.py", line 99, in print(PermissionView.model()) @tqq1994516 PermissionView.model is which model?
# 调试定位 通过调试定位到 schema 模块里面的代码报错: https://github.com/bali-framework/bali/blob/7eade94681ea3e89d2232cb43b3e5900905f7532/bali/schemas/__init__.py#L23-L26 这行代码是从 [pydantic-sqlalchemy](https://github.com/tiangolo/pydantic-sqlalchemy) 迁移过来做了简单改动,去 `pydantic-sqlalchemy` 查找发现并没有用户反馈这个问题。 # 通过报错 `AttributeError: entity` 查找原因 找到以下 issues: https://github.com/sqlalchemy/sqlalchemy/issues/4819 https://github.com/graphql-python/graphene-sqlalchemy/issues/245 其中 @jnak 的回复感觉有点道理: https://github.com/graphql-python/graphene-sqlalchemy/issues/245#issuecomment-525473079 他的大意是SQLAlchemy 的 Mapper 无法映射我们定义的 Model 类,他也提供了方案,建立我们通过逐个字段的增加和移除来确定错误的地方。...