fbozhang

Results 5 issues of fbozhang

![企业微信截图_17122385408602](https://github.com/TencentBlueKing/iam-python-sdk/assets/101728232/ad399070-9418-4ba3-803d-37de92b6ba6c) ![企业微信截图_17122393361176](https://github.com/TencentBlueKing/iam-python-sdk/assets/101728232/e9eb9f0e-b0e1-4640-a66e-22641c49c3c8) ![企业微信截图_17122392671275](https://github.com/TencentBlueKing/iam-python-sdk/assets/101728232/5f68565d-8d68-4dde-b125-fdd105239aaa) ![企业微信截图_17122392845122](https://github.com/TencentBlueKing/iam-python-sdk/assets/101728232/a93909f9-f86f-4a82-b129-e81a8fd7e9ec) ![企业微信截图_17122386088626](https://github.com/TencentBlueKing/iam-python-sdk/assets/101728232/f0ed3a72-caf7-428d-9d2e-1a5306330718) 正确的使用应该是 ![企业微信截图_17122398659212](https://github.com/TencentBlueKing/iam-python-sdk/assets/101728232/4e448636-fc98-44fb-91ca-3cbfd1377e58) ```python loader.graph.leaf_nodes(apps .get_app_config(conf.MIGRATION_APP_NAME.split(".")[-1]).label) ```

Description: When using Django’s model and serializer as shown below, the FlowSerializer allows partial updates even when `partial=False`, due to `allow_null=True` for the flow_id field. Model: ``` class Flow(models.Model): flow_id...

stale

```python from datetime import datetime from dateutil.relativedelta import relativedelta, FR dt = datetime(2024, 11, 15, 11, 25, 11, 521636) dt + relativedelta(weekday=FR) Out[25]: datetime.datetime(2024, 11, 15, 11, 25, 11, 521636)...

This modification has the following advantages: 1. Maintain the input order. 2. Prevent the output from being a set, which would cause issues with JSON serialization (e.g., when passing parameters...

https://github.com/fanout/django-eventstream/blob/5b5e6fd67b18eee5f33869503702b40ad647adcb/setup.py#L32 ![Image](https://github.com/user-attachments/assets/daf9e7be-1672-4152-8099-299b2f175f4e)