New Features
Github Actions - PyLint
Way overdue, but we finally have [automated linting](https://github.com/GoogleCloudPlatform/dfcx-scrapi/actions/workflows/linter.yml) for feature branches and PRs to `main`!
This should help expedite the review process and generally provide some good code hygiene across all PRs.
Builders
Added [7 new Builder Classes](https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/107)!
These will help round out the Builder classes and provide all of the functional building blocks for Flows, Pages, Transition Routes, and Fulfillments.
Happy Building! 😄 🏗️
Enhancements
- [Pages.get_pages_map](https://github.com/GoogleCloudPlatform/dfcx-scrapi/blob/main/src/dfcx_scrapi/core/pages.py#L80) now generates the Page Display Names and IDs for the reserved "special" pages in Dialogflow CX (i.e. `END_SESSION`, `START_PAGE`, and `END_FLOW`)
- Added [Pages.delete_page](https://github.com/GoogleCloudPlatform/dfcx-scrapi/blob/main/src/dfcx_scrapi/core/pages.py#L228)
- Added [Flows.create_flow](https://github.com/GoogleCloudPlatform/dfcx-scrapi/blob/main/src/dfcx_scrapi/core/flows.py#L229)
- Updates to [CopyUtil](https://github.com/GoogleCloudPlatform/dfcx-scrapi/blob/main/src/dfcx_scrapi/tools/copy_util.py) to support Route Groups
Notebooks
- [copy_paste_pages.ipynb](https://github.com/GoogleCloudPlatform/dfcx-scrapi/blob/main/examples/copy_paste_series/copy_paste_pages.ipynb) updated to include recent changes to `CopyUtil`
Bug Fixes
- Fixed a bug in `ScrapiBase.parse_resource_path` that was causing Page IDs to not be parsed correctly
- Fixed missing `__init__.py` file in `agent_assist` folder
- Fixed issue causing some resource create methods to not honor the incoming kwargs or proto object provided
- This affected the `create_x` methods in `agents`, `entity_types` and `intents`
- Fixed an issue in [CopyUtil](https://github.com/GoogleCloudPlatform/dfcx-scrapi/blob/main/src/dfcx_scrapi/tools/copy_util.py) where some copy functions would fail due to missing Flow resources in Flows map.
- Fixed a bug in `conversation.py` where a new match type for `KNOWLEDGE_CONNECTOR` was not being handled
Misc
- Lots of refactor and linting across all files
- Updates to copyright dates
- Fixed typo in `nlu_util` ValueError message
---
What's Changed
* update regex for page validation by kmaphoenix in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/92
* Small Enhancement to Pages Map by kmaphoenix in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/90
* Adding init file in the agent assist folder by hkhaitan1 in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/89
* Patch/create flow by kmaphoenix in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/96
* Feature/workflows by kmaphoenix in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/100
* Patch/workflows update by kmaphoenix in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/101
* Patch/core create refactor by MRyderOC in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/88
* Feature/copy util update by SeanScripts in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/97
* Adding a new match type for knowledge connector by mejindal in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/102
* Feature/builders by MRyderOC in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/107
* remove typo by kmaphoenix in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/109
New Contributors
* mejindal made their first contribution in https://github.com/GoogleCloudPlatform/dfcx-scrapi/pull/102
**Full Changelog**: https://github.com/GoogleCloudPlatform/dfcx-scrapi/compare/1.5.1...1.6.0