Skip to content

Commit

Permalink
Merge pull request #27 from Safe/clam-patch-1
Browse files Browse the repository at this point in the history
ScriptedSelectionCallback: Don't raise NotImplementedError in constructor
  • Loading branch information
carsonyl authored and GitHub Enterprise committed Mar 12, 2024
2 parents f2c45e9 + d274822 commit d785462
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# fmetools changes

## 0.9.1

* Allow ScriptedSelectionCallback subclasses to omit constructor.

## 0.9.0

* Add support for multiple input tags. Requires FME 2024.0+.
Expand Down
2 changes: 1 addition & 1 deletion src/fmetools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coding: utf-8

__version__ = "0.9.0"
__version__ = "0.9.1"

import gettext
import os
Expand Down
2 changes: 1 addition & 1 deletion src/fmetools/scripted_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self, args: dict[str, Any]):
:param args: The names and values of the Input Parameters and Input Dictionary
configured on the Scripted Selection GUI element.
"""
raise NotImplementedError
pass

@abstractmethod
def get_container_contents(
Expand Down
2 changes: 1 addition & 1 deletion src/fmetools/webservices.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class NamedConnectionNotFound(FMEException):

def __init__(self, client_name: str, connection_name: str):
base_message = tr(
"%s: Connection '%s' does not exist."
"%s: Connection '%s' does not exist. "
+ "Check connection parameter and connection definitions in FME options and try again"
)
message = base_message % (client_name, connection_name)
Expand Down

0 comments on commit d785462

Please sign in to comment.