Skip to content

Fixed things found in session 1 of the grand Python review.#59

Merged
madhadron merged 1 commit intodevelopfrom
fross/review-fixes
Nov 30, 2012
Merged

Fixed things found in session 1 of the grand Python review.#59
madhadron merged 1 commit intodevelopfrom
fross/review-fixes

Conversation

@madhadron
Copy link
Copy Markdown

  • Added a note that Confs as been renamed to Configurations in CHANGELOG.md.
  • Entity.refresh no longer tries to interpret HTTPErrors, and just lets them bubble up. Fixed test_delete tests in test_input,
    test_role, test_saved_search, and test_user to expect HTTPError instead of EntityDeletedException. Deleted EntityDeletedException
    since it is not longer used.
  • Fixed namespace logic in Entity._proper_namespace to draw on the entity's own namespace before the service's namespace.
  • Moved AmbiguousReferenceException throwing from _load_state in Entity to _load_atom_entry (where it should be).
  • Fixed doctoring of Service.search to indicate that it returns a Job, not the results of a oneshot search.
  • Edited a comment that was too Freddian for public consumption.
  • Moved URL-unquoting of links from refresh to read on Entity, and made it a UrlEncoded step instead of unencoding them.

- Added a note that Confs as been renamed to Configurations in CHANGELOG.md.
- Entity.refresh no longer tries to interpret HTTPErrors, and just lets them bubble up. Fixed test_delete tests in test_input,
  test_role, test_saved_search, and test_user to expect HTTPError instead of EntityDeletedException. Deleted EntityDeletedException
  since it is not longer used.
- Fixed namespace logic in Entity._proper_namespace to draw on the entity's own namespace before the service's namespace.
- Moved AmbiguousReferenceException throwing from _load_state in Entity to _load_atom_entry (where it should be).
- Fixed doctoring of Service.search to indicate that it returns a Job, not the results of a oneshot search.
- Edited a comment that was too Freddian for public consumption.
- Moved URL-unquoting of links from refresh to read on Entity, and made it a UrlEncoded step instead of unencoding them.
Comment thread splunklib/client.py
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not English. :) Should be something like:

"The jobs endpoint only returns an outermost element, instead of an outermost element with an element embedded inside."

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed.

@itay
Copy link
Copy Markdown
Contributor

itay commented Nov 28, 2012

Changes look good, modulo comments. Prior to merge, let's have Brad take a look.

Also, I'd like us to write some tests for the namespace thing, I don't know if we have any that specifically test that, but we should if we don't.

@madhadron
Copy link
Copy Markdown
Author

Added some tests on the namespace thing.

@madhadron
Copy link
Copy Markdown
Author

Going to have a bunch more. We can have Brad look at the whole mess.

madhadron pushed a commit that referenced this pull request Nov 30, 2012
Fixed things found in session 1 of the grand Python review.
@madhadron madhadron merged commit fae6b2f into develop Nov 30, 2012
mateusz834 pushed a commit that referenced this pull request Apr 15, 2026
* Add ai_custom_alert_app

* Disable app by default

* PR fixes #1

* PR fixes

* Update README.md
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.

2 participants