Codebase list lazr.restfulclient / 8fd6b19
Imported Upstream version 0.12.0 SVN-Git Migration 8 years ago
7 changed file(s) with 22 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
00 Metadata-Version: 1.0
11 Name: lazr.restfulclient
2 Version: 0.11.2
2 Version: 0.12.0
33 Summary: A programmable client library that takes advantage of the commonalities among
44 Home-page: https://launchpad.net/lazr.restfulclient
55 Author: LAZR Developers
5555 NEWS for lazr.restfulclient
5656 ===========================
5757
58 0.12.0 (2011-06-30)
59 ===================
60
61 - Give a more useful AttributeError
62
5863 0.11.2 (2011-02-03)
5964 ===================
6065
00 ===========================
11 NEWS for lazr.restfulclient
22 ===========================
3
4 0.12.0 (2011-06-30)
5 ===================
6
7 - Give a more useful AttributeError
38
49 0.11.2 (2011-02-03)
510 ===================
8383 >>> recipe.is_great
8484 Traceback (most recent call last):
8585 ...
86 AttributeError: 'Entry' object has no attribute 'is_great'
86 AttributeError: http://cookbooks.dev/1.0/recipes/1 object has no attribute 'is_great'
8787
8888 The client can set more than one attribute on an entry at a time:
8989 they'll all be changed when the entry is saved.
141141 >>> not_really_a_cookbook.cuisine
142142 Traceback (most recent call last):
143143 ...
144 AttributeError: 'Entry' object has no attribute 'cuisine'
144 AttributeError: http://cookbooks.dev/1.0/recipes/3 object has no attribute 'cuisine'
145145
146146 Cleanup.
147147
329329 try:
330330 return self.lp_get_parameter(attr)
331331 except KeyError:
332 raise AttributeError("'%s' object has no attribute '%s'"
333 % (self.__class__.__name__, attr))
332 raise AttributeError("%s object has no attribute '%s'"
333 % (self, attr))
334334
335335 def lp_values_for(self, param_name):
336336 """Find the set of possible values for a parameter."""
00 Metadata-Version: 1.0
11 Name: lazr.restfulclient
2 Version: 0.11.2
2 Version: 0.12.0
33 Summary: A programmable client library that takes advantage of the commonalities among
44 Home-page: https://launchpad.net/lazr.restfulclient
55 Author: LAZR Developers
5555 NEWS for lazr.restfulclient
5656 ===========================
5757
58 0.12.0 (2011-06-30)
59 ===================
60
61 - Give a more useful AttributeError
62
5863 0.11.2 (2011-02-03)
5964 ===================
6065