*** vartom117 has quit IRC | 00:00 | |
*** dina_belova has joined #openstack-dev | 00:07 | |
*** Ritz-Laptop has quit IRC | 00:10 | |
*** mberwanger has joined #openstack-dev | 00:10 | |
*** Ritz-Laptop has joined #openstack-dev | 00:10 | |
*** Ritz-Laptop has quit IRC | 00:10 | |
*** dina_belova has quit IRC | 00:12 | |
*** rods has quit IRC | 00:21 | |
*** alunch has quit IRC | 00:29 | |
*** hailiang has joined #openstack-dev | 00:52 | |
*** xchu has joined #openstack-dev | 00:53 | |
*** Ryan_Lane has joined #openstack-dev | 00:54 | |
*** briancurtin has quit IRC | 01:07 | |
*** dina_belova has joined #openstack-dev | 01:08 | |
*** briancurtin has joined #openstack-dev | 01:08 | |
*** dina_belova has quit IRC | 01:13 | |
*** Ryan_Lane has quit IRC | 01:16 | |
*** adjohn has joined #openstack-dev | 01:22 | |
*** lexinator has quit IRC | 01:24 | |
*** fifieldt has joined #openstack-dev | 01:34 | |
*** alexxu has quit IRC | 01:40 | |
*** erkules_ has joined #openstack-dev | 01:45 | |
*** erkules has quit IRC | 01:45 | |
*** freedomhui has joined #openstack-dev | 01:50 | |
*** d34dh0r53 has joined #openstack-dev | 01:59 | |
*** d34dh0r53 has quit IRC | 02:01 | |
*** sdake_ has quit IRC | 02:02 | |
*** mberwanger has quit IRC | 02:04 | |
*** d34dh0r53 has joined #openstack-dev | 02:04 | |
*** dina_belova has joined #openstack-dev | 02:08 | |
*** ffio has joined #openstack-dev | 02:11 | |
*** dina_belova has quit IRC | 02:13 | |
*** adjohn has quit IRC | 02:17 | |
*** adjohn has joined #openstack-dev | 02:18 | |
*** hailiang has quit IRC | 02:21 | |
*** edmund1 has joined #openstack-dev | 02:21 | |
*** jecarey has quit IRC | 02:25 | |
*** adjohn has quit IRC | 02:28 | |
*** jbresnah has joined #openstack-dev | 02:28 | |
*** jbresnah has quit IRC | 02:33 | |
*** alunch has joined #openstack-dev | 02:43 | |
*** briancurtin has quit IRC | 02:46 | |
*** briancurtin has joined #openstack-dev | 02:46 | |
*** jecarey has joined #openstack-dev | 02:49 | |
*** mberwanger has joined #openstack-dev | 02:58 | |
*** jecarey has quit IRC | 03:00 | |
*** dina_belova has joined #openstack-dev | 03:09 | |
*** edmund1 has quit IRC | 03:11 | |
*** dina_belova has quit IRC | 03:14 | |
*** comptona has quit IRC | 03:14 | |
*** jbresnah has joined #openstack-dev | 03:15 | |
*** danwent has joined #openstack-dev | 03:16 | |
*** mberwanger has quit IRC | 03:23 | |
*** bdpayne has joined #openstack-dev | 03:24 | |
*** martine has joined #openstack-dev | 03:24 | |
*** lexinator has joined #openstack-dev | 03:25 | |
*** martine is now known as Guest14739 | 03:25 | |
*** sdake has quit IRC | 03:26 | |
*** smoser has joined #openstack-dev | 03:28 | |
*** lexinator has quit IRC | 03:30 | |
*** bdpayne has quit IRC | 03:31 | |
*** changbl has quit IRC | 03:33 | |
*** xchu_ has joined #openstack-dev | 03:36 | |
*** adjohn has joined #openstack-dev | 03:38 | |
*** xchu has quit IRC | 03:38 | |
*** adjohn has quit IRC | 03:43 | |
*** nayward has joined #openstack-dev | 03:45 | |
*** adjohn has joined #openstack-dev | 03:46 | |
*** bdpayne has joined #openstack-dev | 03:49 | |
*** freedomhui has quit IRC | 03:58 | |
*** BStokes has joined #openstack-dev | 04:04 | |
*** ffio has quit IRC | 04:04 | |
*** yjiang5_ has joined #openstack-dev | 04:04 | |
*** ffio_ has joined #openstack-dev | 04:04 | |
*** yuanz has joined #openstack-dev | 04:04 | |
*** Guest94145 has quit IRC | 04:06 | |
*** yjiang5 has quit IRC | 04:06 | |
*** yuan has quit IRC | 04:08 | |
*** dina_belova has joined #openstack-dev | 04:09 | |
*** liufeiyu has joined #openstack-dev | 04:11 | |
*** dina_belova has quit IRC | 04:14 | |
*** Shaan7 has joined #openstack-dev | 04:17 | |
*** jbresnah has quit IRC | 04:19 | |
*** Guest14739 has quit IRC | 04:27 | |
*** nayward has quit IRC | 04:38 | |
*** danwent has quit IRC | 04:39 | |
*** adjohn has quit IRC | 04:44 | |
*** adjohn has joined #openstack-dev | 04:46 | |
*** adjohn has quit IRC | 04:49 | |
*** bdpayne has quit IRC | 04:52 | |
*** briancurtin has quit IRC | 05:02 | |
*** eharney has quit IRC | 05:06 | |
*** bdpayne has joined #openstack-dev | 05:06 | |
*** sdake_ has joined #openstack-dev | 05:08 | |
*** sdake_ has joined #openstack-dev | 05:08 | |
*** dina_belova has joined #openstack-dev | 05:10 | |
*** adjohn has joined #openstack-dev | 05:12 | |
*** dina_belova has quit IRC | 05:15 | |
*** prekarat has joined #openstack-dev | 05:25 | |
*** prekarat has quit IRC | 05:27 | |
*** prekarat has joined #openstack-dev | 05:27 | |
*** SergeyLukjanov has joined #openstack-dev | 05:39 | |
*** adjohn has quit IRC | 05:46 | |
*** sdake_ has quit IRC | 05:52 | |
*** bdpayne has quit IRC | 05:54 | |
*** zodiak has quit IRC | 05:55 | |
*** ctracey has quit IRC | 06:05 | |
*** dina_belova has joined #openstack-dev | 06:10 | |
*** Mandell has joined #openstack-dev | 06:14 | |
*** ctracey|away has joined #openstack-dev | 06:14 | |
*** ctracey|away is now known as ctracey | 06:14 | |
*** dina_belova has quit IRC | 06:15 | |
*** ffio_ has quit IRC | 06:22 | |
*** gongysh has joined #openstack-dev | 06:24 | |
*** mikal has quit IRC | 06:33 | |
*** mikal has joined #openstack-dev | 06:34 | |
*** pabelanger has quit IRC | 06:37 | |
*** dina_belova has joined #openstack-dev | 06:37 | |
*** pabelanger has joined #openstack-dev | 06:38 | |
*** prekarat has quit IRC | 06:38 | |
*** doron_afk has joined #openstack-dev | 06:41 | |
*** kushal has joined #openstack-dev | 06:53 | |
*** adjohn has joined #openstack-dev | 06:56 | |
*** terriyu has quit IRC | 06:57 | |
*** SergeyLukjanov has quit IRC | 06:58 | |
*** adjohn has quit IRC | 07:01 | |
*** vladimir3p has joined #openstack-dev | 07:03 | |
*** Ryan_Lane has joined #openstack-dev | 07:10 | |
*** vartom117 has joined #openstack-dev | 07:11 | |
*** lexinator has joined #openstack-dev | 07:11 | |
*** fbo_away is now known as fbo | 07:12 | |
*** fbo is now known as fbo_away | 07:22 | |
*** dina_belova has quit IRC | 07:26 | |
*** dina_belova has joined #openstack-dev | 07:36 | |
*** Mandell has quit IRC | 07:41 | |
*** tkammer has joined #openstack-dev | 07:42 | |
*** Mandell has joined #openstack-dev | 07:47 | |
*** toabctl has quit IRC | 07:48 | |
*** dina_belova has quit IRC | 07:49 | |
*** toabctl has joined #openstack-dev | 07:53 | |
*** gongysh has quit IRC | 07:59 | |
*** Ryan_Lane has quit IRC | 08:01 | |
*** vartom117 has quit IRC | 08:02 | |
*** gongysh has joined #openstack-dev | 08:07 | |
*** vladimir3p has quit IRC | 08:15 | |
*** gongysh has quit IRC | 08:21 | |
*** flaper87 is now known as flaper87|afk | 08:28 | |
*** Mandell has quit IRC | 08:34 | |
*** odyssey4me3 has joined #openstack-dev | 08:34 | |
*** cthulhup has joined #openstack-dev | 08:36 | |
*** boris-42 has joined #openstack-dev | 08:39 | |
*** cthulhup has quit IRC | 08:49 | |
*** dina_belova has joined #openstack-dev | 08:49 | |
*** cthulhup has joined #openstack-dev | 08:50 | |
*** cthulhup_ has joined #openstack-dev | 08:51 | |
*** dina_belova has quit IRC | 08:54 | |
*** cthulhup has quit IRC | 08:54 | |
*** dina_belova has joined #openstack-dev | 09:00 | |
*** dina_belova has quit IRC | 09:04 | |
*** SergeyLukjanov has joined #openstack-dev | 09:05 | |
*** dina_belova has joined #openstack-dev | 09:15 | |
*** gongysh has joined #openstack-dev | 09:17 | |
*** gongysh has quit IRC | 09:23 | |
*** cthulhup_ has quit IRC | 09:52 | |
*** dkehn_ has joined #openstack-dev | 10:18 | |
*** dkehn has quit IRC | 10:20 | |
*** cthulhup has joined #openstack-dev | 10:23 | |
*** dkehn has joined #openstack-dev | 10:26 | |
*** dkehn_ has quit IRC | 10:28 | |
*** cthulhup has quit IRC | 10:31 | |
*** SergeyLukjanov has quit IRC | 10:44 | |
*** kiall has quit IRC | 10:44 | |
*** kiall has joined #openstack-dev | 10:48 | |
*** kiall has quit IRC | 10:50 | |
*** rods has joined #openstack-dev | 10:53 | |
*** kiall has joined #openstack-dev | 10:57 | |
*** tkammer has quit IRC | 11:00 | |
*** sushils has joined #openstack-dev | 11:00 | |
*** donaldh has joined #openstack-dev | 11:01 | |
*** kiall has quit IRC | 11:03 | |
*** kiall has joined #openstack-dev | 11:04 | |
*** kiall has quit IRC | 11:06 | |
*** dina_belova has quit IRC | 11:08 | |
*** jhesketh has joined #openstack-dev | 11:11 | |
*** mkollaro has joined #openstack-dev | 11:14 | |
*** tkammer has joined #openstack-dev | 11:15 | |
*** kiall has joined #openstack-dev | 11:16 | |
*** amerine has quit IRC | 11:22 | |
*** tkammer has quit IRC | 11:23 | |
*** martine has joined #openstack-dev | 11:24 | |
*** martine is now known as Guest87999 | 11:25 | |
*** dkehn has quit IRC | 11:26 | |
*** dkehn has joined #openstack-dev | 11:30 | |
*** mikal has quit IRC | 11:46 | |
*** mikal has joined #openstack-dev | 11:47 | |
*** Guest87999 has quit IRC | 12:00 | |
*** sushils has quit IRC | 12:04 | |
*** SergeyLukjanov has joined #openstack-dev | 12:07 | |
*** tkammer has joined #openstack-dev | 12:10 | |
*** SergeyLukjanov has quit IRC | 12:13 | |
*** dina_belova has joined #openstack-dev | 12:14 | |
*** fifieldt has quit IRC | 12:15 | |
*** eharney has joined #openstack-dev | 12:25 | |
*** rods has quit IRC | 12:34 | |
*** vartom117 has joined #openstack-dev | 12:36 | |
*** jjmb has joined #openstack-dev | 12:36 | |
*** mberwanger has joined #openstack-dev | 12:38 | |
*** dina_belova has quit IRC | 12:41 | |
*** ffio has joined #openstack-dev | 12:43 | |
*** vartom117 has quit IRC | 12:58 | |
*** eharney has quit IRC | 12:58 | |
*** mberwanger has quit IRC | 13:04 | |
*** eharney has joined #openstack-dev | 13:05 | |
*** annegentle has quit IRC | 13:07 | |
*** mberwanger has joined #openstack-dev | 13:10 | |
*** dina_belova has joined #openstack-dev | 13:11 | |
*** leif has joined #openstack-dev | 13:17 | |
*** leif is now known as Guest12731 | 13:18 | |
*** dina_belova has quit IRC | 13:20 | |
*** mberwanger has quit IRC | 13:21 | |
*** matrice64 has joined #openstack-dev | 13:27 | |
*** mberwanger has joined #openstack-dev | 13:39 | |
*** mberwanger has quit IRC | 13:40 | |
*** sushils has joined #openstack-dev | 13:46 | |
*** Shaan7 has quit IRC | 13:46 | |
*** Shaan7 has joined #openstack-dev | 13:49 | |
*** Shaan7 has quit IRC | 13:54 | |
*** Shaan7 has joined #openstack-dev | 13:54 | |
*** cthulhup has joined #openstack-dev | 13:59 | |
*** sushils has quit IRC | 14:01 | |
*** networkstatic has quit IRC | 14:02 | |
*** networkstatic has joined #openstack-dev | 14:02 | |
*** d34dh0r53 has quit IRC | 14:03 | |
*** xqueralt-afk is now known as xqueralt | 14:05 | |
*** cthulhup has quit IRC | 14:07 | |
*** d34dh0r53 has joined #openstack-dev | 14:07 | |
*** xchu_ has quit IRC | 14:12 | |
*** cthulhup has joined #openstack-dev | 14:12 | |
*** xqueralt is now known as xqueralt-afk | 14:13 | |
*** Shaan7_ has joined #openstack-dev | 14:16 | |
*** Shaan7 has quit IRC | 14:16 | |
*** Shaan7_ is now known as Shaan7 | 14:17 | |
*** sandeepr_ltp has quit IRC | 14:17 | |
*** xqueralt-afk is now known as xqueralt | 14:18 | |
*** CaptTofu has joined #openstack-dev | 14:22 | |
*** anniec has quit IRC | 14:23 | |
*** anniec has joined #openstack-dev | 14:26 | |
*** mkollaro has quit IRC | 14:26 | |
*** danwent has joined #openstack-dev | 14:28 | |
*** rods has joined #openstack-dev | 14:28 | |
*** changbl has joined #openstack-dev | 14:28 | |
*** Guest12731 has quit IRC | 14:29 | |
*** fbo_away is now known as fbo | 14:31 | |
*** fbo is now known as fbo_away | 14:33 | |
*** vkmc has joined #openstack-dev | 14:35 | |
*** danwent has quit IRC | 14:39 | |
*** flaper87|afk is now known as flaper87 | 14:43 | |
*** garyk has joined #openstack-dev | 14:44 | |
*** doron_afk has quit IRC | 14:55 | |
*** gkotton has joined #openstack-dev | 14:59 | |
*** gkotton has quit IRC | 14:59 | |
*** gkotton has joined #openstack-dev | 14:59 | |
*** garyk has quit IRC | 15:02 | |
*** gkotton is now known as garyk | 15:02 | |
*** leif has joined #openstack-dev | 15:02 | |
*** leif is now known as Guest81493 | 15:03 | |
*** Guest81493 has quit IRC | 15:05 | |
*** SergeyLukjanov has joined #openstack-dev | 15:07 | |
*** dina_belova has joined #openstack-dev | 15:07 | |
*** leif_ has joined #openstack-dev | 15:07 | |
*** danwent has joined #openstack-dev | 15:08 | |
*** sdake_ has joined #openstack-dev | 15:18 | |
*** sdake_ has quit IRC | 15:18 | |
*** sdake_ has joined #openstack-dev | 15:18 | |
*** gkotton has joined #openstack-dev | 15:20 | |
*** dina_belova has quit IRC | 15:24 | |
*** garyk has quit IRC | 15:24 | |
*** gkotton is now known as garyk | 15:24 | |
*** SergeyLukjanov has quit IRC | 15:37 | |
*** vladimir3p has joined #openstack-dev | 15:38 | |
*** yjiang5 has joined #openstack-dev | 15:48 | |
*** nayward has joined #openstack-dev | 15:50 | |
*** tkammer has quit IRC | 15:52 | |
yjiang5 | boris-42: hi | 15:55 |
---|---|---|
*** dina_belova has joined #openstack-dev | 16:00 | |
*** vladimir3p has quit IRC | 16:01 | |
*** SergeyLukjanov has joined #openstack-dev | 16:02 | |
*** woodspa has joined #openstack-dev | 16:02 | |
*** CaptTofu has quit IRC | 16:04 | |
*** CaptTofu has joined #openstack-dev | 16:04 | |
*** rwsu has quit IRC | 16:09 | |
*** zaneb has joined #openstack-dev | 16:09 | |
*** zbitter has quit IRC | 16:12 | |
*** cthulhup has quit IRC | 16:17 | |
*** xqueralt is now known as xqueralt-afk | 16:23 | |
*** yjiang5 has quit IRC | 16:23 | |
*** dims has quit IRC | 16:24 | |
*** changbl has quit IRC | 16:27 | |
*** changbl has joined #openstack-dev | 16:29 | |
*** leif_ has quit IRC | 16:29 | |
*** vkmc has quit IRC | 16:39 | |
*** odyssey4me3 has quit IRC | 16:41 | |
*** johnpur has joined #openstack-dev | 16:45 | |
*** Shaan7 has quit IRC | 16:46 | |
*** Shaan7 has joined #openstack-dev | 16:46 | |
*** dina_belova has quit IRC | 16:48 | |
*** SergeyLukjanov has quit IRC | 16:49 | |
*** SumitNaiksatam has quit IRC | 16:49 | |
*** SumitNaiksatam has joined #openstack-dev | 16:51 | |
*** Shaan7 has quit IRC | 16:51 | |
*** Shaan7 has joined #openstack-dev | 16:52 | |
*** danwent has quit IRC | 16:55 | |
*** ftcjeff has joined #openstack-dev | 17:02 | |
*** mikal has quit IRC | 17:03 | |
*** mikal has joined #openstack-dev | 17:04 | |
*** woodspa has quit IRC | 17:10 | |
*** dina_belova has joined #openstack-dev | 17:13 | |
*** dina_belova has quit IRC | 17:19 | |
*** cthulhup has joined #openstack-dev | 17:28 | |
*** dina_belova has joined #openstack-dev | 17:29 | |
*** cthulhup has quit IRC | 17:33 | |
*** CaptTofu has quit IRC | 17:38 | |
*** jhesketh has quit IRC | 17:39 | |
*** CaptTofu has joined #openstack-dev | 17:39 | |
*** changbl has quit IRC | 17:39 | |
*** cthulhup has joined #openstack-dev | 17:40 | |
*** cthulhup has quit IRC | 17:48 | |
*** jhesketh has joined #openstack-dev | 17:52 | |
*** nayward has quit IRC | 18:02 | |
*** nayward has joined #openstack-dev | 18:02 | |
*** sdake has joined #openstack-dev | 18:05 | |
*** sdake has joined #openstack-dev | 18:05 | |
*** garyk has quit IRC | 18:09 | |
*** CaptTofu has quit IRC | 18:09 | |
*** garyk has joined #openstack-dev | 18:10 | |
*** CaptTofu has joined #openstack-dev | 18:10 | |
*** ondergetekende_ has joined #openstack-dev | 18:11 | |
*** SergeyLukjanov has joined #openstack-dev | 18:12 | |
*** ondergetekende_ has quit IRC | 18:12 | |
*** ffio has quit IRC | 18:19 | |
*** ffio_ has joined #openstack-dev | 18:19 | |
*** lexinator has quit IRC | 18:20 | |
*** erkules_ is now known as erkules | 18:22 | |
*** amerine has joined #openstack-dev | 18:31 | |
*** eharney has quit IRC | 18:34 | |
*** CaptTofu has quit IRC | 18:42 | |
*** CaptTofu has joined #openstack-dev | 18:42 | |
*** rods has quit IRC | 18:46 | |
*** briancurtin has joined #openstack-dev | 18:49 | |
*** d34dh0r53 has quit IRC | 18:57 | |
*** cthulhup has joined #openstack-dev | 18:59 | |
*** cthulhup has quit IRC | 19:03 | |
*** SergeyLukjanov has quit IRC | 19:12 | |
*** changbl has joined #openstack-dev | 19:16 | |
*** donaldh has quit IRC | 19:16 | |
*** leif has joined #openstack-dev | 19:19 | |
*** leif is now known as Guest51027 | 19:20 | |
*** adjohn has joined #openstack-dev | 19:20 | |
*** ffio_ has quit IRC | 19:24 | |
*** adjohn has quit IRC | 19:27 | |
*** eharney has joined #openstack-dev | 19:31 | |
*** vkmc has joined #openstack-dev | 19:58 | |
*** adjohn has joined #openstack-dev | 19:58 | |
*** dina_belova has quit IRC | 19:59 | |
*** xqueralt-afk is now known as xqueralt | 20:05 | |
*** CaptTofu has quit IRC | 20:06 | |
*** CaptTofu has joined #openstack-dev | 20:07 | |
*** colinmcnamara has joined #openstack-dev | 20:11 | |
*** eharney has quit IRC | 20:17 | |
*** kushal has quit IRC | 20:18 | |
*** vkmc has quit IRC | 20:27 | |
*** adjohn has quit IRC | 20:29 | |
*** donaldh has joined #openstack-dev | 20:34 | |
*** bdpayne has joined #openstack-dev | 20:46 | |
boris-42 | yjiang5 hi | 20:48 |
*** bdpayne has quit IRC | 20:51 | |
*** eharney has joined #openstack-dev | 20:54 | |
*** adjohn has joined #openstack-dev | 20:55 | |
*** martine has joined #openstack-dev | 20:59 | |
*** dina_belova has joined #openstack-dev | 20:59 | |
*** martine is now known as Guest31300 | 20:59 | |
*** Guest31300 has quit IRC | 21:00 | |
*** dina_belova has quit IRC | 21:04 | |
*** dina_belova has joined #openstack-dev | 21:09 | |
*** dina_belova has quit IRC | 21:14 | |
*** networkstatic has quit IRC | 21:17 | |
*** Guest51027 has quit IRC | 21:23 | |
*** CaptTofu has quit IRC | 21:34 | |
*** boris-42 has quit IRC | 21:38 | |
*** networkstatic has joined #openstack-dev | 21:51 | |
*** visualise has quit IRC | 21:52 | |
*** xqueralt is now known as xqueralt-afk | 21:54 | |
*** briancurtin has quit IRC | 22:02 | |
*** erfanian has quit IRC | 22:03 | |
*** donaldh has quit IRC | 22:07 | |
*** dina_belova has joined #openstack-dev | 22:10 | |
*** donaldh has joined #openstack-dev | 22:11 | |
*** dina_belova has quit IRC | 22:15 | |
*** rods has joined #openstack-dev | 22:15 | |
*** noslzzp has joined #openstack-dev | 22:22 | |
*** sdake has quit IRC | 22:29 | |
*** mmoya has quit IRC | 22:31 | |
*** jhesketh_ has joined #openstack-dev | 22:33 | |
*** mmoya has joined #openstack-dev | 22:34 | |
*** donaldh has quit IRC | 22:46 | |
*** briancurtin has joined #openstack-dev | 22:46 | |
*** donaldh has joined #openstack-dev | 22:51 | |
*** donaldh has quit IRC | 22:55 | |
*** gmurphy has joined #openstack-dev | 23:06 | |
*** jamielennox|away is now known as jamielennox | 23:09 | |
*** henrynash has joined #openstack-dev | 23:09 | |
*** dina_belova has joined #openstack-dev | 23:10 | |
henrynash | any one on who knows sqlalchemy/SQL well? | 23:10 |
*** dina_belova has quit IRC | 23:15 | |
morganfainberg | henrynash: i can try to help, but no guarantee that i know enough about SQLalchemy et al | 23:22 |
*** sthaha has joined #openstack-dev | 23:23 | |
henrynash | morganfainberg: thx…I just found my problem….was confused by how sqlalchemy was turning what I thought was a simple WHERE clause into supplying the attributes late in the process | 23:23 |
morganfainberg | henrynash: ah. | 23:23 |
henrynash | morganfainberg: …but managed to get my head round it in the end….thx | 23:24 |
morganfainberg | henrynash: sometimes that can be a bit confusing. sqlalchemy makes sql hard to follow soemtimes :P | 23:24 |
morganfainberg | glad you figured it out :) | 23:24 |
henrynash | morganfainberg: thx | 23:24 |
*** alunduil has quit IRC | 23:29 | |
jamielennox | morganfainberg: that link is interesting, my understanding is that modules are added to __all__ though, not classes and functions so by having a public function you would expose everything so it would still need tweaking | 23:30 |
morganfainberg | jamielennox: exactly, but it might be a place to start when considering how to approach the problem. | 23:31 |
jamielennox | i like the decorator idea, it makes it very explicit | 23:31 |
jamielennox | i haven't composed a ML topic yet | 23:31 |
morganfainberg | jamielennox: i was looking into the possiblility of restrincting classes from from mod import * | 23:31 |
morganfainberg | haven't seen anything too specific on it yet, it might work just like __all__ though | 23:32 |
jamielennox | well import * is against the pep8 chck anyway i think | 23:32 |
morganfainberg | i'll do some tests a little later today | 23:32 |
morganfainberg | jamielennox: that doesn't stop people from doing it | 23:32 |
morganfainberg | or in __init__.py issuing a #noqa flake8 | 23:32 |
morganfainberg | (we do it some in the __init__.pys) and it might make sure namespaces don't leak things we don't want exposed (i'm thinking more keystone proper in this case than say keystoneclient) | 23:33 |
*** cmagina has quit IRC | 23:33 | |
jamielennox | i know, makes it at least partially there fault though | 23:33 |
lifeless | jamielennox: __all__ is for symbols - it can be modules, packages, classes, functions, constants whatever. | 23:33 |
*** cmagina has joined #openstack-dev | 23:33 | |
morganfainberg | lifeless: lifeless in for the information! nice. | 23:33 |
lifeless | jamielennox: it just advises what the interface is. | 23:33 |
jamielennox | lifeless: really, that's interesting - to the point where you can have a private/public mix? | 23:33 |
jamielennox | within the same class? | 23:34 |
morganfainberg | jamielennox: i think that requires an extra abstraction layer, actually. | 23:34 |
morganfainberg | in a class, you'd use the _<method> nomenclature | 23:34 |
morganfainberg | or some such | 23:34 |
*** henrynash has quit IRC | 23:34 | |
lifeless | jamielennox: __all__ is a module level thing only; I may have misunderstood your question. | 23:34 |
lifeless | jamielennox: the /contents/ of __all__ is just a list of symbols; the type of those symbols when you look them up in the module can be anything. | 23:35 |
jamielennox | lifeless: ah ok, yea, that was what i thought. We are looking for a way to do a strict definition in a client lib of public/private classes and functions | 23:35 |
morganfainberg | lifeless: and it affects the "from module import *" concept, because of the lookup mechanism | 23:35 |
morganfainberg | lifeless: right? | 23:35 |
jamielennox | there is the obvious _ prefix | 23:35 |
lifeless | morganfainberg: from module import * will only import the contents of __all__, if it is defined. | 23:36 |
morganfainberg | jamielennox: in python nothing is really private… | 23:36 |
morganfainberg | lifeless: cool, i was understanding that correctly. thanks | 23:36 |
*** marun has quit IRC | 23:36 | |
lifeless | jamielennox: morganfainberg: pep8 now defines _ as having meaning as far as the standard lib is concerned | 23:36 |
jamielennox | morganfainberg: i know, but there is the supported API and everything else is at your own risk | 23:36 |
lifeless | in that anything following the 'is private' convention won't be supported cross-release | 23:36 |
*** bdpayne has joined #openstack-dev | 23:37 | |
lifeless | jamielennox: whats the problem you're trying to solve? | 23:37 |
morganfainberg | lifeless: good to know that is the "standard" | 23:37 |
jamielennox | there is a lot of stuff in keystoneclient not explicitly marked private by _ but that has no business being used by clients | 23:37 |
morganfainberg | lifeless: identifying classes, interfaces, etc that are public vs private in the keystoneclient (e.g. HTTPClient probably shouldn't be consumed by anything except the Client classes) | 23:37 |
jamielennox | the question is i guess what can we fix now, and how do we more explicity avoid it in the future | 23:38 |
morganfainberg | and by client classes i mean the top level version Client(). | 23:38 |
lifeless | so, I've seen many attempts to make this sort of thing hard-and-fast | 23:39 |
*** cmagina has quit IRC | 23:39 | |
lifeless | and it usually ends up in tears. | 23:39 |
*** cmagina has joined #openstack-dev | 23:39 | |
morganfainberg | lifeless: i don | 23:39 |
morganfainberg | 't expect it to be a hard enforcement | 23:39 |
lifeless | There *are* things you can use that create proxy objects with C modules driving to force data hiding etc. | 23:39 |
jamielennox | ahh, let's not | 23:40 |
lifeless | My usual preference is to use defense in depth: | 23:40 |
lifeless | - define an __all__ | 23:40 |
morganfainberg | lifeless: more of a how to identify what we consider "private" and make it more expicit to use (e.g. __all__) | 23:40 |
lifeless | - document the interface and explicitly say if it's not documented as public, it isn't. | 23:40 |
lifeless | - sec, ELOCAL< brb | 23:40 |
morganfainberg | and proper use of _prefix and docstrings | 23:40 |
jamielennox | the problem i guess is that keystoneclient evolved rather than was planned i think | 23:41 |
morganfainberg | jamielennox: thats fine, we can start moving towards a more informed design now. I also think that in icehouse your thought on making HTTPClient a consumable by the client _not_ a shared variable baseclass is a good approach. | 23:43 |
jamielennox | for the record, not my idea, but i agree that we should push it that way | 23:43 |
morganfainberg | jamielennox: obviously with a compatability layer that warns that this type of use is deprecated (or whatever is required). | 23:43 |
morganfainberg | jamielennox: couple that with proper use of __all__ i think we can better identify to the developers "this is what you should be using" without doing hard-enforcement (which as lifeless said, will likely end in tears) | 23:44 |
morganfainberg | oh and of course, docstrings including proper information. | 23:44 |
lifeless | back | 23:46 |
lifeless | and yes, _ prefix things that are in a public namespace but not public | 23:46 |
lifeless | such as private methods on a public class | 23:46 |
lifeless | I often create a _FOO package and put internals in there | 23:47 |
lifeless | e.g. in fixtures, 'fixtures._fixtures.popen' is the module that contains the FakePOpen class | 23:47 |
lifeless | thats a private place for it; so folk can tell not to grab it from where it's defined, but rather from where the docs say to :) | 23:48 |
jamielennox | smart, technically __all__ would be enough in that case but people would still import it directly | 23:48 |
jamielennox | for example i'm thinking of keystoneclient.utils, that should be private | 23:49 |
lifeless | and docstrings | 23:49 |
lifeless | what else | 23:49 |
lifeless | an @deprecated decorator is very useful | 23:49 |
lifeless | for gracefully fixing up legacy/future mistakes | 23:49 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!