Skip to content

F/sh/py Update and add new methods that have been created since the last merge#43

Merged
dblea00 merged 3 commits intodevfrom
f/sh/pyCSMupdate
Mar 25, 2026
Merged

F/sh/py Update and add new methods that have been created since the last merge#43
dblea00 merged 3 commits intodevfrom
f/sh/pyCSMupdate

Conversation

@dblea00
Copy link
Copy Markdown
Collaborator

@dblea00 dblea00 commented Mar 19, 2026

No description provided.

email notifications enabled, getting summary of email recipients on server, enabling and disabling email alert notifications on the server.
delete a scheduled task, cancel a running scheduled task, and run a scheduled task immediately at a specific task.
Get Method: This method retrieves the options for a given session. Put Method: This function sets options for a given session. Before calling it, you need to call getOptions to retrieve the list of valid options for that session. The type field in the response from getOptions tells you the exact option name to use when making this REST call.
return system_service.put_email_notifications_enabled(self.base_url, self.tk, enabled)
return resp

def get_Email_Recipients(self):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep the capitalization consistent if we can....I'm sure we're all over the map in some places. But the put_email_notifications_enabled is all lower case....but get_Email_Recipients has upper case.

@dblea00 dblea00 merged commit 63ff1ba into dev Mar 25, 2026
1 check passed
blearandy added a commit that referenced this pull request Mar 27, 2026
* F/sh/py Update and add new methods that have been created since the last merge (#43)

* adding methods that were missing from the system service.

email notifications enabled, getting summary of email recipients on server, enabling and disabling email alert notifications on the server.

* Updated session service and schedule client

delete a scheduled task, cancel a running scheduled task, and run a scheduled task immediately at a specific task.

* Gets  and Puts Session Options

Get Method: This method retrieves the options for a given session. Put Method: This function sets options for a given session. Before calling it, you need to call getOptions to retrieve the list of valid options for that session. The type field in the response from getOptions tells you the exact option name to use when making this REST call.

---------

Co-authored-by: SerenaHsu1 <Serena.Hsu1@ibm.com>

* F/rb/readthedocsfixes (#44)

* Update requirements.txt

* trying python 3.14 and sphinx 9.1

* changing back to sphinx==5.0.0

* change envirnment.yaml file as well

* Add GitHub Actions workflow for Python package publishing

This workflow automates the process of uploading a Python package to PyPI when a release is created, including steps for building and publishing the package.

* Add GitHub Actions workflow for linting and testing

This workflow installs Python dependencies, runs linting with Ruff, and executes unit tests across multiple Python versions and operating systems.

* testing lint workflow (#45)

* testing link workflow

* remove lint for now

* F/db/addtestmethods (#46)

* Made some syntax changes,  updates to methods that were broken and moved some methods to their more correct places

* Added test files with methods that test the important methods for all service files

* added readme and requirments files for the new test files

* added back force and soft but just had the client code default to false as well

* updated requirements for pyCSM to allow for newer versions to be used

---------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants