Skip to content

Commit

Permalink
Merge pull request #80 from HubSpot/feature/objects-get-all
Browse files Browse the repository at this point in the history
crm.objects.get_all method
  • Loading branch information
plaurynovich-hubspot authored Nov 3, 2021
2 parents 1c87274 + e607988 commit 8aa4a5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/HubSpot/hubspot-api-python/compare/v4.0.1...HEAD)
## [Unreleased](https://github.com/HubSpot/hubspot-api-python/compare/v4.0.2...HEAD)

## [4.0.2](https://github.com/HubSpot/hubspot-api-python/compare/v4.0.1...v4.0.1) - 2021-11-03

### Added

- crm.objects.get_all() method

## [4.0.1](https://github.com/HubSpot/hubspot-api-python/compare/v4.0.0...v4.0.1) - 2021-10-07

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.1
4.0.2
3 changes: 3 additions & 0 deletions hubspot/discovery/crm/objects/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ def gdpr_api(self) -> api_client.GDPRApi:
@property
def feedback_submissions(self):
return FeedbackSubmissionsDiscovery(self.config)

def get_all(self, **kwargs):
return fetch_all(self.basic_api, **kwargs)

0 comments on commit 8aa4a5f

Please sign in to comment.