Accessing C++ flags from Python
- 主要語言
- Python
- 星號
- 2.5k
- 分支
- 279
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 1
描述
[This section of the guide](https://abseil.io/docs/python/guides/flags#how-do-i-access-c-flags-from-python) has been "forthcoming" for some time. Is there any timeline on this?
The definition of `class Flag`, there appear to be some Google internals that "leak" out but are unused.
- [allow_override_cpp](https://github.com/abseil/abseil-py/blob/a0ae31683e6cf3667886c500327f292c893a1740/absl/flags/_flag.py#L49)
- [allow_hide_cpp](https://github.com/abseil/abseil-py/blob/a0ae31683e6cf3667886c500327f292c893a1740/absl/flags/_flag.py#L51)
They seem to be used in [absltest.py](https://github.com/abseil/abseil-py/blob/a0ae31683e6cf3667886c500327f292c893a1740/absl/testing/absltest.py#L228) but is otherwise not well documented.
貢獻指南
研究方向
The issue points to missing documentation for accessing C++ flags from Python in the Abseil guide. Examine the `_flag.py` file to understand the `allow_override_cpp` and `allow_hide_cpp` attributes and their usage in `absltest.py`. Research how C++ flags are integrated and document the process, ensuring the guide section is filled with accurate information.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100