File size: 1,473 Bytes
4d0d437 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | import streamlit as st
st.markdown(
"""
# Physical Database Verification Documentation
## 1. Objective
Display the current physical database reference used by the app.
## 2. When to use this tool
Use this page when you need to inspect the latest physical database content before validation tasks.
## 3. Input files and accepted formats
No user upload is required.
The page reads local file:
- `physical_db/physical_database.csv`
## 4. Required columns/fields
No fixed schema is enforced by this page. It displays the CSV as-is.
## 5. Step-by-step usage
1. Open `Apps > Physical Database Verification`.
2. Click `Show actual physical database`.
3. Review the displayed table.
## 6. Outputs generated
- data table rendered from `physical_database.csv`
## 7. Frequent errors and fixes
- File not found warning.
- Fix: ensure `physical_db/physical_database.csv` exists in repository.
- Empty table.
- Fix: verify CSV has data rows and valid delimiter.
- Parsing issue.
- Fix: confirm CSV encoding and structure.
## 8. Minimal reproducible example
- Input: existing `physical_db/physical_database.csv`
- Action: click show button.
- Expected result: full CSV displayed as Streamlit dataframe.
## 9. Known limitations
- Read-only page (no edit/upload flow).
- No filtering/export controls in current implementation.
- Depends entirely on local file availability.
## 10. Version and update date
- Documentation version: 1.0
- Last update: 2026-02-23
"""
)
|