Skip to content

Commit 36115cf

Browse files
committed
Polish test
1 parent 2888157 commit 36115cf

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎atlassian/confluence/cloud/cloud.py‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,8 @@ def get_pages(
248248
except Exception as e:
249249
log.error(f"Failed to retrieve pages: {e}")
250250
raise
251-
252-
def get_page_by_title(
253-
self, space_key: str, title: str, body_format: str = "storage", **kwargs
254-
) -> Dict[str, Any]:
251+
252+
def get_page_by_title(self, space_key: str, title: str, body_format: str = "storage", **kwargs) -> Dict[str, Any]:
255253
"""
256254
Get page by space key and title using the V2 API.
257255
Resolves the space key to space_id and queries the V2 page endpoint.
@@ -277,7 +275,6 @@ def get_page_by_title(
277275
)
278276
return {"results": pages if isinstance(pages, list) else []}
279277

280-
281278
def get_page_id(self, space: str, title: str, type: str = "page") -> Optional[str]:
282279
"""
283280
Get page ID by space key and title using the V2 API.

0 commit comments

Comments
 (0)