Skip to content

Commit 954b0de

Browse files
update in docs, and version number updated
1 parent c66c5f1 commit 954b0de

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Flow Production Tracking Python API Changelog
44

55
Here you can see the full list of changes between each Python API release.
66

7+
v3.9.1 (2025 Sep 17)
8+
===================
9+
10+
- Add ``export_page`` method to Shotgun class.
11+
- Update documentation.
12+
713
v3.9.0 (2025 Sep 10)
814
===================
915

docs/reference.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ The documentation for all of the methods you'll need in your scripts lives in he
6666
Shotgun.work_schedule_read
6767
Shotgun.work_schedule_update
6868
Shotgun.preferences_read
69+
Shotgun.export_page
6970

7071
.. rubric:: Working With Files
7172

@@ -150,6 +151,7 @@ also some specialized convenience methods for accessing particular types of info
150151
.. automethod:: Shotgun.work_schedule_read
151152
.. automethod:: Shotgun.work_schedule_update
152153
.. automethod:: Shotgun.preferences_read
154+
.. automethod:: Shotgun.export_page
153155

154156
Working With Files
155157
==================

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name="shotgun_api3",
23-
version="3.9.0",
23+
version="3.9.1",
2424
description="Flow Production Tracking Python API",
2525
long_description=readme,
2626
author="Autodesk",

shotgun_api3/shotgun.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
# ----------------------------------------------------------------------------
8383
# Version
84-
__version__ = "3.9.0"
84+
__version__ = "3.9.1"
8585

8686
# ----------------------------------------------------------------------------
8787
# Errors
@@ -1830,10 +1830,12 @@ def export_page(self, page_id, format, layout_name=None):
18301830
"""
18311831
Export the specified page to the given format.
18321832
This method allows you to export a page to a specific format such as CSV.
1833-
>>> sg.export_page(12345, "csv", layout_name="My Layout")
1834-
"ID,Name,Status\n1,Shot 001,ip\n2,Shot 002,rev\n"
1833+
1834+
>>> sg.export_page(12345, "csv", layout_name="My Layout")
1835+
"ID,Name,Status\\n1,Shot 001,ip\\n2,Shot 002,rev\\n"
1836+
18351837
:param int page_id: The ID of the page to export.
1836-
:param str format: The format to export the page to. Supported formats are ``"csv"``
1838+
:param str format: The format to export the page to. Supported format is ``"csv"``.
18371839
:param str layout_name: The name of the layout to export this will map to the layout_display_name field. Defaults to ``None``.
18381840
:returns: string containing data of the given page.
18391841
:rtype: string

0 commit comments

Comments
 (0)