XSF Discussion - 2020-04-27


  1. nyco has left

  2. nyco has joined

  3. bear has joined

  4. bear has left

  5. debacle has left

  6. Kev has left

  7. Kev has joined

  8. Neustradamus has left

  9. Neustradamus has joined

  10. emus has left

  11. Maranda has left

  12. j.r has left

  13. Daniel has left

  14. Maranda has joined

  15. bear has joined

  16. eevvoor has left

  17. pdurbin has joined

  18. bear has left

  19. Lainux has left

  20. lskdjf has left

  21. pdurbin has left

  22. Shell has left

  23. Shell has joined

  24. arc has left

  25. arc has joined

  26. Shell has left

  27. Shell has joined

  28. Shell has left

  29. bear has joined

  30. mukt2 has left

  31. mukt2 has joined

  32. waqas has left

  33. waqas has joined

  34. bear has left

  35. arc has left

  36. arc has joined

  37. mukt2 has left

  38. mukt2 has joined

  39. Yagiza has joined

  40. mukt2 has left

  41. bear has joined

  42. pdurbin has joined

  43. mukt2 has joined

  44. adiaholic_ has left

  45. adiaholic_ has joined

  46. arc has left

  47. arc has joined

  48. Daniel has joined

  49. bear has left

  50. bear has joined

  51. xsf has left

  52. xsf has joined

  53. andy has joined

  54. mukt2 has left

  55. mukt2 has joined

  56. Shell has joined

  57. Yagiza has left

  58. Yagiza has joined

  59. DebXWoody has joined

  60. adiaholic_ has left

  61. adiaholic_ has joined

  62. waqas has left

  63. waqas has joined

  64. DebXWoody has left

  65. DebXWoody has joined

  66. Tobias has joined

  67. mukt2 has left

  68. Mikaela has joined

  69. mukt2 has joined

  70. mukt2 has left

  71. paul has joined

  72. gav has left

  73. karoshi has joined

  74. mukt2 has joined

  75. Neustradamus has left

  76. Neustradamus has joined

  77. eta has left

  78. mukt2 has left

  79. mukt2 has joined

  80. Luciole has left

  81. Jeybe has joined

  82. xecks has joined

  83. eta has joined

  84. jonas’

    \o/

  85. jonas’

    marc, the point of XSO is that you can map XML constructs to Python attributes / objects

  86. mukt2 has left

  87. Mikaela has left

  88. Mikaela has joined

  89. Shell has left

  90. Jeybe has left

  91. waqas has left

  92. matkor has left

  93. matkor has joined

  94. mukt2 has joined

  95. Nekit has joined

  96. wurstsalat has joined

  97. lorddavidiii has joined

  98. mukt2 has left

  99. mukt2 has joined

  100. lovetox has left

  101. emus has joined

  102. lovetox has joined

  103. Jeybe has joined

  104. LNJ has joined

  105. Shell has joined

  106. Jeybe has left

  107. Jeybe has joined

  108. Jeybe has left

  109. Jeybe has joined

  110. Shell has left

  111. Shell has joined

  112. Jeybe has left

  113. Jeybe has joined

  114. mukt2 has left

  115. marc

    jonas’: yep, that's what I thought but I hab a damn typo and it didn't work :)

  116. mukt2 has joined

  117. jonas’

    :)

  118. marc

    jonas’: I guess I nees to register my classes such that they are decoded, right?

  119. jonas’

    if you’re using connect_xmlstream and send_and_wait_for, passing them to send_and_wait_for is all you need

  120. jonas’

    oh wow, send_and_wait_for has zero documentation

  121. marc

    Any special case for pre auth / stream elements?

  122. jonas’

    no

  123. jonas’

    send_and_wait_for is exactly for that

  124. jonas’

    first argument is the xmlstream, second argument is an iterable of XSOs you want to send, third argument is a sequence of XSO classes to listen for

  125. jonas’

    https://github.com/horazont/aioxmpp/blob/548dff57f878995262a861ee9530191afbdedd53/aioxmpp/protocol.py#L816

  126. jonas’

    also, feel free to file an issue for the lack of documentation of that function

  127. Guus has left

  128. Guus has joined

  129. jonas’

    I’m @work, otherwise I’d fix that right away

  130. marc

    Okay, strange because it throws me an error that the element is unknown

  131. marc

    But I have to double check later

  132. jonas’

    you sure that your TAG is correct and you passed the right XSO?

  133. marc

    No, I'll check that later, thanks a lot so far!

  134. bear has left

  135. Shell has left

  136. Shell has joined

  137. debacle has joined

  138. Jeybe has left

  139. Jeybe has joined

  140. lovetox has left

  141. adiaholic_ has left

  142. adiaholic_ has joined

  143. Jeybe has left

  144. Jeybe has joined

  145. goffi has joined

  146. robertooo has joined

  147. Jeybe has left

  148. Jeybe has joined

  149. edhelas has left

  150. edhelas has joined

  151. winfried has left

  152. winfried has joined

  153. Jeybe has left

  154. Jeybe has joined

  155. winfried has left

  156. winfried has joined

  157. Jeybe has left

  158. bear has joined

  159. larma has left

  160. Maranda has left

  161. larma has joined

  162. bear has left

  163. j.r has joined

  164. Yagiza has left

  165. Yagiza has joined

  166. Jeybe has joined

  167. Daniel has left

  168. Daniel has joined

  169. Daniel has left

  170. Daniel has joined

  171. Jeybe has left

  172. Jeybe has joined

  173. bear has joined

  174. Maranda has joined

  175. APach has left

  176. APach has joined

  177. Shell has left

  178. Steve Kille has left

  179. emus has left

  180. wurstsalat has left

  181. wurstsalat has joined

  182. wurstsalat has left

  183. wurstsalat has joined

  184. Steve Kille has joined

  185. bear has left

  186. !XSF_Martin has left

  187. !XSF_Martin has joined

  188. emus has joined

  189. debacle has left

  190. emus has left

  191. emus has joined

  192. Jeybe has left

  193. Jeybe has joined

  194. mukt2 has left

  195. lskdjf has joined

  196. mukt2 has joined

  197. lskdjf has left

  198. lskdjf has joined

  199. demonstration has joined

  200. Daniel has left

  201. Daniel has joined

  202. Vaulor has left

  203. Seve has left

  204. Vaulor has joined

  205. Seve has joined

  206. Jeybe has left

  207. Jeybe has joined

  208. Yagiza has left

  209. Neustradamus has left

  210. Neustradamus has joined

  211. Jeybe has left

  212. Jeybe has joined

  213. Vaulor has left

  214. Seve has left

  215. bear has joined

  216. Vaulor has joined

  217. Seve has joined

  218. andrey.g has joined

  219. lovetox has joined

  220. pdurbin has left

  221. demonstration has left

  222. bear has left

  223. adiaholic_ has left

  224. adiaholic_ has joined

  225. j.r has left

  226. adiaholic_ has left

  227. adiaholic_ has joined

  228. j.r has joined

  229. mukt2 has left

  230. mukt2 has joined

  231. Jeybe has left

  232. Jeybe has joined

  233. Vaulor has left

  234. Seve has left

  235. Vaulor has joined

  236. Seve has joined

  237. Jeybe has left

  238. Jeybe has joined

  239. bear has joined

  240. Jeybe has left

  241. Jeybe has joined

  242. adiaholic_ has left

  243. adiaholic_ has joined

  244. Jeybe has left

  245. Jeybe has joined

  246. bear has left

  247. j.r has left

  248. j.r has joined

  249. mukt2 has left

  250. Yagiza has joined

  251. j.r has left

  252. j.r has joined

  253. j.r has left

  254. j.r has joined

  255. j.r has left

  256. j.r has joined

  257. j.r has left

  258. j.r has joined

  259. Maranda has left

  260. j.r has left

  261. j.r has joined

  262. Maranda has joined

  263. Maranda has left

  264. Maranda has joined

  265. Maranda has left

  266. Maranda has joined

  267. j.r has left

  268. j.r has joined

  269. Jeybe has left

  270. Jeybe has joined

  271. j.r has left

  272. j.r has joined

  273. mukt2 has joined

  274. j.r has left

  275. j.r has joined

  276. Jeybe has left

  277. Jeybe has joined

  278. Zash has left

  279. Zash has joined

  280. Jeybe has left

  281. Jeybe has joined

  282. bear has joined

  283. pdurbin has joined

  284. mukt2 has left

  285. Dele Olajide has joined

  286. Dele Olajide has left

  287. Jeybe has left

  288. Jeybe has joined

  289. Steve Kille has left

  290. Kev has left

  291. Steve Kille has joined

  292. Kev has joined

  293. pdurbin has left

  294. bear has left

  295. Jeybe has left

  296. mukt2 has joined

  297. j.r has left

  298. mukt2 has left

  299. mukt2 has joined

  300. Neustradamus has left

  301. Neustradamus has joined

  302. test has joined

  303. bear has joined

  304. contrapunctus has left

  305. L29Ah has left

  306. alexis has left

  307. alexis has joined

  308. bear has left

  309. marc

    jonas’, What is the way to go when I want to have an Object that can contain different xml payloads?

  310. marc

    Do I need to inherit from a base class and specify the payload they in the child class or is it possible to use arbitrary child elements?

  311. Daniel has left

  312. Daniel has joined

  313. Daniel has left

  314. Daniel has joined

  315. Zash has left

  316. !XSF_Martin has left

  317. !XSF_Martin has joined

  318. Daniel has left

  319. Daniel has joined

  320. Daniel has left

  321. Daniel has joined

  322. Daniel has left

  323. Daniel has joined

  324. Zash has joined

  325. Daniel has left

  326. Daniel has joined

  327. Daniel has left

  328. Daniel has joined

  329. Daniel has left

  330. Daniel has joined

  331. paul has left

  332. Daniel has left

  333. Daniel has joined

  334. Zash has left

  335. Daniel has left

  336. Daniel has joined

  337. Zash has joined

  338. Daniel has left

  339. Daniel has joined

  340. adiaholic_ has left

  341. Guus has left

  342. Guus has joined

  343. Daniel has left

  344. Daniel has joined

  345. paul has joined

  346. andy has left

  347. bear has joined

  348. Daniel has left

  349. Daniel has joined

  350. !XSF_Martin has left

  351. !XSF_Martin has joined

  352. Daniel has left

  353. Daniel has joined

  354. Daniel has left

  355. Daniel has joined

  356. andy has joined

  357. Daniel has left

  358. Daniel has joined

  359. testnick has joined

  360. Daniel has left

  361. Daniel has joined

  362. testnick has left

  363. adiaholic_ has joined

  364. !XSF_Martin has left

  365. !XSF_Martin has joined

  366. Daniel has left

  367. Daniel has joined

  368. !XSF_Martin has left

  369. !XSF_Martin has joined

  370. bear has left

  371. Daniel has left

  372. Daniel has joined

  373. mukt2 has left

  374. Daniel has left

  375. Daniel has joined

  376. mukt2 has joined

  377. Daniel has left

  378. Daniel has joined

  379. Daniel has left

  380. Daniel has joined

  381. Daniel has left

  382. Daniel has joined

  383. arc has left

  384. arc has joined

  385. j.r has joined

  386. j.r has left

  387. Daniel has left

  388. j.r has joined

  389. Daniel has joined

  390. stpeter has joined

  391. stpeter has left

  392. j.r has left

  393. j.r has joined

  394. Mikaela has left

  395. Mikaela has joined

  396. andy has left

  397. andy has joined

  398. Daniel has left

  399. Daniel has joined

  400. Daniel has left

  401. Daniel has joined

  402. bear has joined

  403. Daniel has left

  404. Daniel has joined

  405. Daniel has left

  406. Daniel has joined

  407. Daniel has left

  408. Daniel has joined

  409. Daniel has left

  410. Daniel has joined

  411. Daniel has left

  412. Daniel has joined

  413. Daniel has left

  414. Daniel has joined

  415. Daniel has left

  416. Daniel has joined

  417. jonas’

    marc, do you know the payloads beforehand?

  418. jonas’

    if so, xso.Child([...]) or xso.ChildList([...]) are good starting points

  419. jonas’

    (the possible payloads, you don’t need to know the specific payload)

  420. jonas’

    the list passed there is a list of XSO classes

  421. jonas’

    though we should move this to jdev@ or aioxmpp@

  422. marc

    Yep, can you send me the aioxmpp link?

  423. jonas’

    xmpp:aioxmpp@conference.zombofant.net?join

  424. bear has left

  425. Daniel has left

  426. Daniel has joined

  427. Daniel has left

  428. Daniel has joined

  429. Dele Olajide has joined

  430. Maranda has left

  431. Maranda has joined

  432. Daniel has left

  433. Daniel has joined

  434. Shell has joined

  435. edhelas has left

  436. edhelas has joined

  437. karoshi has left

  438. karoshi has joined

  439. Shell has left

  440. Shell has joined

  441. Daniel has left

  442. Daniel has joined

  443. test has left

  444. Daniel has left

  445. Daniel has joined

  446. Daniel has left

  447. Daniel has joined

  448. Nekit has left

  449. bear has joined

  450. krauq has left

  451. pdurbin has joined

  452. krauq has joined

  453. Wojtek has joined

  454. Daniel has left

  455. Daniel has joined

  456. pdurbin has left

  457. alexis has left

  458. bear has left

  459. Maranda has left

  460. Maranda has joined

  461. lovetox has left

  462. j.r has left

  463. lovetox has joined

  464. Ge0rG has left

  465. Ge0rG has joined

  466. mukt2 has left

  467. mukt2 has joined

  468. adiaholic_ has left

  469. adiaholic_ has joined

  470. arc has left

  471. arc has joined

  472. lovetox has left

  473. alexis has joined

  474. Steve Kille has left

  475. Jeybe has joined

  476. lovetox has joined

  477. bear has joined

  478. lovetox has left

  479. werdan has joined

  480. Jeybe has left

  481. Jeybe has joined

  482. Steve Kille has joined

  483. Jeybe has left

  484. Jeybe has joined

  485. murabito has joined

  486. bear has left

  487. neshtaxmpp has joined

  488. Jeybe has left

  489. Jeybe has joined

  490. Alex has left

  491. Alex has joined

  492. Jeybe has left

  493. lovetox has joined

  494. lovetox has left

  495. jose has joined

  496. jose

    andy

  497. Yagiza has left

  498. Yagiza has joined

  499. Yagiza has left

  500. Guus

    barbara

  501. edhelas

    john

  502. Zash

    greg

  503. Guus

    The first two contestants are out of our annual "names with the letter 'a'" competition!

  504. !XSF_Martin

    /me

  505. pdurbin has joined

  506. bear has joined

  507. lovetox has joined

  508. Dele Olajide has left

  509. debacle has joined

  510. debacle has left

  511. debacle has joined

  512. jose has left

  513. lovetox has left

  514. alexis has left

  515. pdurbin has left

  516. arc has left

  517. arc has joined

  518. bear has left

  519. goffi has left

  520. murabito has left

  521. murabito has joined

  522. arc has left

  523. arc has joined

  524. Jeybe has joined

  525. bear has joined

  526. Jeybe has left

  527. Maranda

    /them

  528. Jeybe has joined

  529. Jeybe has left

  530. Jeybe has joined

  531. Jeybe has left

  532. Jeybe has joined

  533. adiaholic_ has left

  534. adiaholic_ has joined

  535. Jeybe has left

  536. Jeybe has joined

  537. Shell has left

  538. Wojtek has left

  539. Wojtek has joined

  540. Jeybe has left

  541. Jeybe has joined

  542. pdurbin has joined

  543. sonny has left

  544. govanify has left

  545. Jeybe has left

  546. Jeybe has joined

  547. DebXWoody has left

  548. Jeybe has left

  549. mukt2 has left

  550. Jeybe has joined

  551. mukt2 has joined

  552. Jeybe has left

  553. Jeybe has joined

  554. Daniel has left

  555. Daniel has joined

  556. sonny has joined

  557. adiaholic_ has left

  558. Jeybe has left

  559. pdurbin has left

  560. Jeybe has joined

  561. murabito has left

  562. murabito has joined

  563. govanify has joined

  564. arc has left

  565. arc has joined

  566. Jeybe has left

  567. Jeybe has joined

  568. Jeybe has left

  569. Jeybe has joined

  570. neshtaxmpp has left

  571. govanify has left

  572. govanify has joined

  573. Jeybe has left

  574. Jeybe has joined

  575. Mikaela has left

  576. Jeybe has left

  577. Jeybe has joined

  578. Jeybe has left

  579. Jeybe has joined

  580. andrey.g has left

  581. xecks has left

  582. Nekit has joined

  583. Jeybe has left

  584. Jeybe has joined

  585. Jeybe has left

  586. Jeybe has joined

  587. Jeybe has left

  588. Jeybe has joined

  589. alexis has joined

  590. Alex has left

  591. Jeybe has left

  592. Jeybe has joined

  593. marc0s has left

  594. marc0s has joined

  595. arc has left

  596. arc has joined

  597. Tobias has left

  598. Jeybe has left

  599. Jeybe has joined

  600. Jeybe has left

  601. Jeybe has joined

  602. waqas has joined

  603. Jeybe has left

  604. waqas has left

  605. Jeybe has joined

  606. Jeybe has left

  607. Jeybe has joined

  608. Jeybe has left

  609. Jeybe has joined

  610. waqas has joined

  611. werdan has left

  612. govanify has left

  613. govanify has joined

  614. Jeybe has left

  615. Jeybe has joined

  616. mukt2 has left

  617. mukt2 has joined

  618. Jeybe has left

  619. Jeybe has joined

  620. robertooo has left

  621. robertooo has joined

  622. Jeybe has left

  623. Jeybe has joined

  624. govanify has left

  625. govanify has joined

  626. wurstsalat has left

  627. stpeter has joined

  628. stpeter has left

  629. Jeybe has left

  630. govanify has left

  631. govanify has joined

  632. mukt2 has left

  633. Daniel has left

  634. Daniel has joined

  635. mukt2 has joined

  636. murabito has left

  637. murabito has joined

  638. arc has left

  639. arc has joined

  640. arc has left

  641. arc has joined

  642. Maranda has left

  643. mukt2 has left

  644. LNJ has left

  645. mukt2 has joined

  646. arc has left

  647. arc has joined

  648. govanify has left

  649. govanify has joined

  650. andy has left

  651. bear has left

  652. Lainux has joined

  653. Nekit has left

  654. Lainux has left

  655. paul has left

  656. stpeter has joined

  657. stpeter has left

  658. aj has joined

  659. gav has joined

  660. mukt2 has left

  661. mukt2 has joined

  662. gav has left

  663. gav has joined