Skip to content

Commit

Permalink
💚 Fix Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
kinegratii committed Jan 19, 2024
1 parent b6ba25e commit 131728a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml
env_vars: OS,PYTHON
name: codecov-umbrella
Expand Down
19 changes: 14 additions & 5 deletions docs/guides/festivals2-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,20 @@ cf.page_to(2022, 9, 1) # 2022年9月的下一个月
### 创建组件

```python
FestivalTableFrame(master=None, colunms:Sequeue=None, festival_source:Union[str,FestivalLibrary]='empty', **kwargs)
FestivalTableFrame(master=None, colunms:Sequeue=None, festival_source:Union[str,FestivalLibrary]='empty', countdown_ordered:bool=False, **kwargs)
```

构建参数及其意义如下:

| 参数 | 描述 |
| -------------------------------------------------- | ---------------- |
| colunms:Sequeue | 列定义 |
| festival_source:Union[str,FestivalLibrary]='empty' | 节日源,默认为空 |
| 参数 | 描述 |
| -------------------------------------------------- | -------------------------------- |
| colunms:Sequeue | 列定义 |
| festival_source:Union[str,FestivalLibrary]='empty' | 节日源,默认为空 |
| countdown_ordered:bool=False | 是否按倒计天数排序。<sup>1</sup> |

备注:

1. v4.1.0新增。

表格列定义方式如下:

Expand Down Expand Up @@ -191,6 +196,10 @@ ftf.festival_library.sorted(key=lambda x:x.code)
ftf.notifiy_data_changed()
```

- `change_festival_source(source:str)`

v4.1.0新增。更新指定数据源。



## 日期选择框:ask_date
Expand Down

0 comments on commit 131728a

Please sign in to comment.