This repository was archived by the owner on Aug 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 44
55import yaml
66
7- DEFAULT_STATUS = 'unsupported'
8- DEFAULT_EMULATION_LEVEL = 'CRUD'
97FEATURES_FILE_NAME = 'features.yml'
108
119MD_FILE_HEADER = """---
@@ -39,16 +37,16 @@ def __init__(self, file_path: str):
3937
4038 def add_service_section (self , feature_file_content : str ):
4139 service_name = feature_file_content .get ('name' )
42- emulation_level = feature_file_content .get ('emulation_level' , DEFAULT_EMULATION_LEVEL )
40+ emulation_level = feature_file_content .get ('emulation_level' )
4341 self .md_content .append (f"| **{ service_name } ** | [Details 🔍] | { emulation_level } | |" )
4442
4543 def add_features_rows (self , feature_file_content : str ):
4644 for feature in feature_file_content .get ('features' , []):
4745 feature_name = feature .get ('name' , '' )
48- documentation_page = feature .get ('documentation_page ' )
49- if documentation_page :
50- feature_name = f'[{ feature_name } ]({ documentation_page } )'
51- status = feature .get ('status' , DEFAULT_STATUS )
46+ aws_docs_url = feature .get ('aws_documentation_url ' )
47+ if aws_docs_url :
48+ feature_name = f'[{ feature_name } ]({ aws_docs_url } )'
49+ status = feature .get ('status' )
5250
5351 limitations = feature .get ('limitations' , [])
5452 limitations_md = '\n ' .join (limitations ) if limitations else ''
You can’t perform that action at this time.
0 commit comments